41
edits
m (Switch to the {{forum url}} and {{forum link}} templates for all forum links.) |
(added visual code extension) |
||
Line 104: | Line 104: | ||
Here's an example, which demonstrates a short code segment with three syntax errors as well as the highlighting of a matching pair of parentheses (yellow) and trailing spaces (blue x). (The leading blue dots aren't on by default. They help to spot tab crimes.) | Here's an example, which demonstrates a short code segment with three syntax errors as well as the highlighting of a matching pair of parentheses (yellow) and trailing spaces (blue x). (The leading blue dots aren't on by default. They help to spot tab crimes.) | ||
{{-}} | |||
== Visual Studio Code == | |||
[[File:Vscode-sintaxhighlight.jpg|thumb|Screen shot illustrating syntax highlighting in VSCode]] | |||
[https://code.visualstudio.com Visual Studio Code] is a source-code editor developed by Microsoft for Windows, Linux and macOS. Its open source and free. | |||
The nasal extension is available from [https://github.com/RenanMsV/nasal-vscode Github] and can also be found in the [https://marketplace.visualstudio.com/items?itemName=RenanMsV.nasal-lang VSCode's marketplace]. | |||
It supports basic syntax highlighting and snippets to improve development speed. | |||
For installation from the marketplace: | |||
# Open VSCode | |||
# Go to File -> Preferences -> Extensions or {{key press|Ctrl|Shift|X}}, | |||
# Search for nasal | |||
# Click install for Nasal-lang | |||
Manual installation: | |||
# Download the latest release from the repository, it should be a .vsix file. | |||
# Install the extension manually by doing the command 'code --install-extension path_to_extension.vsix' | |||
{{-}} | {{-}} | ||
edits