Skip to content
⌘ NSIS Forum Archive

Visual Studio Code

6 posts

Yathosho#

Visual Studio Code

Following my packages for Atom and Sublime Text, I ported most of the functionality to Microsoft open-source code editor Visual Studio Code.



The package add IDE-like features such as syntax highlighting for NSIS, nsL Assembler and NSIS Language Files. It also includes IntelliSense for NSIS (including all default plug-ins and libraries) , nsL Assemberl and Haskell, as well as build tools for Windows, native Linux, macOS, and Wine.

Download here!

I hope you like it
T.Slappy#
This looks fantastic!

I tried it and the syntax highlighting works fine but I cannot compile any script.

Everytime I get: No task runner configured.
T.Slappy#
OK, I solved it 🙂

After installing extension you need to restart the Visual Studio Code.
Yathosho#
Thanks, glad you like it!

There is also a separate package bringing IntelliSense for third-party plug-ins. For NSIS document icons, you can further extend Visual Studio Code with vscode-icons.
scharrca#
IntelliSense Problems

Thanks for that great Vidual Studio Code Extension!

I just have some problems in the IntelliSense usage:

NSIS_VERSION do not completes to ${NSIS_VERSION} instead it completes just to NSIS_VERSION
If do not completes to ${If} instead it completes just to If
if instead works and completes to !if


I'm using Release v3.12.1

Carsten
Yathosho#
Originally Posted by scharrca View Post
NSIS_VERSION do not completes to ${NSIS_VERSION} instead it completes just to NSIS_VERSION
If do not completes to ${If} instead it completes just to If
That's a regression introduced in 3.12 and was fixed in 3.12.3 – thanks for reporting (although GitHub is the preferred place for that!)