Fpy — VS Code Extension
Syntax highlighting for the Fpy sequencing language for the F-Prime flight software framework.

Features
- Full syntax highlighting for
.fpy files
- Code folding (indentation-based and
#region / #endregion markers)
- Auto indentation for control-flow blocks
- Dictionary-driven autocompletion of command, telemetry, and parameter
names from an F Prime JSON dictionary
- Hover docs showing a symbol's signature and annotation
- Signature help showing per-argument docs while filling in a command call
- Semantic highlighting that colors dictionary-known commands, telemetry
channels, and parameters; unknown calls keep the default identifier color
Autocompletion
The extension reads an F Prime JSON dictionary and offers completions for fully
qualified command, telemetry-channel, and parameter names (e.g.
Ref.cmdDisp.CMD_NO_OP). Commands complete with a call snippet and placeholders
for their formal parameters.
Hovering over a symbol shows its signature and annotation. While typing a
command's arguments inside ( … ), signature help highlights the current
parameter and shows that argument's documentation.
Completions do not pop up automatically; invoke them on demand with
Alt+Shift+C (or Ctrl-Space).
The dictionary is located by:
- The
fpy.dictionaryPath setting (absolute, or relative to the workspace
root), if set; otherwise
- The first
*Dictionary.json found in the workspace.
The current load status is shown in the status bar. Run Fpy: Reload
Dictionary (or click the status-bar item) to reload after regenerating the
dictionary; the active dictionary file is also watched for changes
automatically.
Contributing
Contributions are welcome! Please open an issue or pull request on the GitHub repository.
License
This project is licensed under the Apache License 2.0.
.''
._.-.___.' (`\
//( ( `'
'/ )\ ).__. )
' <' `\ ._/'\
` \ \