Notepad++: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(NSIS version update)
Line 46: Line 46:
* In the menu, select Language -> NSIS.
* In the menu, select Language -> NSIS.


'''Establishing a link to the NSIS Compiler'''
'''How to run the NSIS Compiler from Notepad++'''
#In the menu, select Run -> Run..
* In Notepad++, on the menu bar, click Run -> Run... (or press F5)
#Verify that makensis.exe is in your environmental user path.
#Enter: makensis.exe "$(FULL_CURRENT_PATH)"
#Click Save..
#Assign a Name: ''NSIS Compile''
#Select User Key Binding


'''Running NSIS Compiler'''
* Type in the location of the NSIS file named "makensisw.exe"
* Menu -> Run - > NSIS Compile
**  If there is spaces in the location, use "" around the directory name
* You can also use the ''custom key binding'' to execute the NSIS Compiler.
 
* After the location, put a space and type  "$(FULL_CURRENT_PATH)"
*-(IE. "C:\Program Files\NSIS\makensisw.exe" "$(FULL_CURRENT_PATH)")
 
* Click save, and name the command (IE. NSIS Compiler).  You can select a keybinding as well, though it is option. (IE. Alt+F1)
 
'''''Updated from the old guide because it doesn't seem to work well with the new version of NSIS, and as well, you're script would have to be in the same directory as the file.  If it doesn't work, try using makensis.exe instead of makensisw.exe'''''


'''NSIS Function & Section Listings:'''
'''NSIS Function & Section Listings:'''

Revision as of 04:56, 21 July 2009

Download page (~1.4 MB).
Version: 5.0.3
License: GPL
Author/Publisher: Don Ho..

Details

Notepad++ is a free, open source (GPL) source code editor which supports several programming languages running under the Microsoft Windows environment.

This project, based on the Scintilla editor component, is written in C++ with pure Win32 API calls and uses STL. Notepad++ is licensed under the GPL Licence. The aim of Notepad++ is to offer a slim and efficient binary with a totally customizable GUI.

Notepad++ with NSIS Integration

More screenshots

Features

  • Provides syntax highlighting for NSIS.
  • Has translatable interface to many languages (available in English, Spanish, French, Russian, German);
  • Code Folding;
  • Tabbed Editing;
  • Auto-completion;
  • Reg-ex search and replace;
  • No Admin requirement for installation;
  • Scriptable key bindings;
  • And more!

Integrating with NSIS

Additional Information

Extensions Supported

.nsi .nsh as NSIS project files.


Additional Help

Run.. Help


Notepad++ can integrate with NSIS utilizing both syntax highlighting and compiling abilities. Additional plugins such as Function List assist in code navigation.


Syntax Highlighting:

  • In the menu, select Language -> NSIS.

How to run the NSIS Compiler from Notepad++

  • In Notepad++, on the menu bar, click Run -> Run... (or press F5)
  • Type in the location of the NSIS file named "makensisw.exe"
    • If there is spaces in the location, use "" around the directory name
  • After the location, put a space and type "$(FULL_CURRENT_PATH)"
    • -(IE. "C:\Program Files\NSIS\makensisw.exe" "$(FULL_CURRENT_PATH)")
  • Click save, and name the command (IE. NSIS Compiler). You can select a keybinding as well, though it is option. (IE. Alt+F1)

Updated from the old guide because it doesn't seem to work well with the new version of NSIS, and as well, you're script would have to be in the same directory as the file. If it doesn't work, try using makensis.exe instead of makensisw.exe

NSIS Function & Section Listings:

  • In the menu, select Plugins -> Function List -> List..

Links