Editor Setup (VS Code)
FScript has an official VS Code extension with Language Server support.
Install
Choose your marketplace:
- VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=MagnusOpera.fscript
- Open VSX: https://open-vsx.org/extension/MagnusOpera/fscript
What you get
The extension provides:
- syntax highlighting,
- diagnostics,
- completion,
- hover,
- document symbols,
- go-to-definition and references,
- rename,
- semantic tokens,
- inlay hints.
Runtime requirement
The extension uses .NET runtime acquisition via .NET Install Tool when needed and can also use dotnet from your PATH.
Recommended first workflow
- Install the extension.
- Open a folder containing
.fssfiles. - Create
hello.fssand type a small function. - Confirm diagnostics/completion are active.
- Run the script from terminal with
fscript hello.fss.
Related docs
- Continue with Language Tour.
- Go deeper in Language chapters.