Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FASTBuild SupportNew to Visual Studio Code? Get it now.

FASTBuild Support

Preview

HarrisonT

|
6 installs
| (0) | Free
FASTBuild language support. Includes go-to definition, find references, variable evaluation, syntax errors, etc.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FASTBuild Language Server and Visual Studio Code Client Extension

Contains a language server and Visual Studio Code client for the FASTBuild language.

  • Functionality
  • Limitations
  • Compatibility
  • Installing
  • Contributing

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.
    • #import (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.

Compatibility

Compatible with FASTBuild version 1.08 (FASTBuild Changelog).

It may be compatible with a newer version of FASTBuild, but this was the latest version tested.

Installing

Install the extension from the Visual Studio Marketplace.

Contributing

Contributions are always welcome. Please see our contributing guide for more details.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft