This extension provides support for fidl-lsp, an LSP language server for FIDL. For more information about the language server, how to run a test instance, and how to contribute, see the fidl-lsp README.
fx gen
and fx build build/fidl:validate_fidl_project_json
If you want to use local versions of fidlc and fidl-format instead of the latest SDK versions, you can edit the extension settings in VSCode. (You may need to reload the editor for the settings to take effect.)
In addition to LSP capabilities, this extension provides syntax highlighting. The syntax highlighting is generated by a script called generate-syntax.ts
. That can be run by:
npm install npm run-script build-syntax