This extension adds support for Nelson to VS Code, including Snippets and Syntax highlighting.
More information about Nelson.
-
Syntax highlighting 🎨
-
Declarative language features:
- Comments 💬
- Brackets 🔧
- Indentation rules 📏
- Collapsible/folding 📂
- Auto-completion ⚡
-
Terminal profile 🖥️
Make sure the path to the Nelson executable is added to either the PATH environment variable or the NELSON_RUNTIME_PATH environment variable. You can also set the
nelson.runtimePathsetting inside VS Code to point directly to the executable. On Windows, starting with version 1.11, NELSON_RUNTIME_PATH is automatically configured during installation.
- Install Nelson from the Nelson project.
- If VS Code cannot find Nelson automatically, run
Nelson: Select Runtime Pathfrom the Command Palette and choose the Nelson executable. - Run
Nelson: Open REPLto start an interactive Nelson terminal. - Open a
.mfile and useNelson: Run Active Filefrom the editor title button, Command Palette, or context menu. - Select a few lines and run
Nelson: Run Selection in REPLto send just that code to the Nelson terminal.
When editing Nelson files, the status bar shows whether Nelson is using PATH or a configured runtime. Click it to open the REPL or update the runtime path.
Feel free to consult and create bug or feature reports here.
See Changelog.
Allan CORNET (nelson.numerical.computation@gmail.com)



