Overview Version History Q & A Rating & Review
FASTBuild Language Server and Visual Studio Code Client Extension
Contains a language server and Visual Studio Code client for the
FASTBuild language. Functionality
This provides the following functionality:
Go to definition of a variable.
Find references to a variable.
Hover over an evaluated variable to show a tooltip with its evaulated value (e.g. the evaluated
Location variable in
.Message = 'Hello $Location$' or
.Message = .Location).
Show diagnostics for errors.
It does not yet provide syntax highlighting. For that in the meantime, I recommend the FASTBuild (
roscop.fastbuild) extension (
extension website). Limitations
The language server cannot know what environment variables will exist when FASTBuild is run, since they might be different than the environment variables that exist when the language server runs, so:
#if exists(...) (
docs) always evaluates to false.
docs) uses a placeholder value instead of reading the actual environement variable value. Only evaluates user functions if they are called at least once. This means that you cannot jump to the definition of a variable defined inside a user function if that user function is never called, for example.
FASTBuild version 1.08 ( FASTBuild Changelog).
It may be compatible with a newer version of FASTBuild, but this was the latest version tested.
Install the extension from the
Visual Studio Marketplace. Contributing
Contributions are always welcome. Please see our
contributing guide for more details.