Old 9th December 2016, 14:34   #1
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,362
Lightbulb 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
Yathosho is offline   Reply With Quote
Old 28th December 2016, 19:01   #2
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 519
Send a message via ICQ to 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.

Cool looking skinned Graphical Installers: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsignedsw.com
Develop NSIS projects in Visual Studio 2005-2017: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.2 Tokyo: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 29th December 2016, 04:53   #3
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 519
Send a message via ICQ to T.Slappy
OK, I solved it

After installing extension you need to restart the Visual Studio Code.

Cool looking skinned Graphical Installers: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsignedsw.com
Develop NSIS projects in Visual Studio 2005-2017: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.2 Tokyo: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 29th December 2016, 13:18   #4
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,362
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.
Yathosho is offline   Reply With Quote
Old 27th February 2018, 09:16   #5
scharrca
Junior Member
 
Join Date: Feb 2018
Posts: 5
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
scharrca is offline   Reply With Quote
Old 3rd March 2018, 22:31   #6
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,362
Quote:
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!)
Yathosho is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
editor, extension, ide, nsis ide, visual studio code, vscode

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump