This is a Visual Studio Code extension for syntax highlighting in Stainless Fit.
Download the latest release and use code --install-extension fit-code-0.0.6.vsix
to install the extension in VS Code.
You can rebuild the file fit-code-0.0.6.vsix
from source by running
vsce package
(after installing vcse
with npm install -g vsce
and all
dependencies of the project using npm install
).
This extension contains:
- A grammar to define the scopes of the syntax.
- A theme file for changing the colors associated to the scopes defined above.
- A dark theme file.
- A typescript file that defines the following commands:
extension.eraseTypeAnnotations
,extension.evaluateCurrentFile
,extension.typecheckCurrentFile
(bound in package.json toCtrl+K Ctrl+V
,Ctrl+K Ctrl+B
, andCtrl+K Ctrl+N
). - Configuration for the path to the executable, as well as the options it should be used with.