Skip to content

Releases: smpanaro/flatbuffers-language-server

0.0.2

08 Dec 05:46

Choose a tag to compare

This release brings project symbol search, syntax support for namespaces and RPCs, as well as fixes for hovers and diagnostics.

New Features

  • Fuzzy search across all project types (tables, structs, enums etc).
    • VSCode calls this "Go to Symbol in Workspace". Zed, "project symbols".
  • Automatically add include statements if needed when accepting a field or root_type completion.
  • Allow more features to work when there are parsing errors. This includes hint diagnostics and hovers, among others.
  • Add full support for rpc_service definitions: hover, references, completions, etc.
  • Add namespace to completions so editors can show and style based on it.
  • Add user-defined attributes to attribute completions.

Bug Fixes

  • Fixed invalid syntax in enum and union hovers. This resulted in incorrect highlighting in some editors.
  • Fixed reporting of diagnostics from included files on the wrong line. This occasionally led to crashes.
  • Fixed unused include detection so it works in many more cases. This rarely worked previously.
    • This will flag transitive-only imports as unused (e.g. B includes C but does not use it. A includes B and uses C). If you have this use case please open an issue.

See the README for supported extensions.

Full Changelog: 0.0.1...0.0.2

0.0.1

20 Oct 01:42

Choose a tag to compare

This is the initial release!

The language server supports several standard LSP features when editing FlatBuffers schema files:

  • Hover to see type definitions and comments.
  • Click to go to definition or see references.
  • Completions for types and keywords.
  • Real flatc errors and warnings in your editor.
  • Quick fixes for some errors.
  • Rename custom types across files.

You can use it with extensions for Zed and VSCode.

0.0.0

18 Oct 22:36

Choose a tag to compare