Notepad++: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Jan moved page Notepad Plus Plus to Notepad++)
(Cleanup)
Line 1: Line 1:
'''[http://notepad-plus.sourceforge.net/uk/download.php Download page]''' (~1.4 MB).<br>
'''Version:''' 6.1.6<br>
'''License:''' GPL <br>
'''Author/Publisher:''' [http://notepad-plus.sourceforge.net/ Don Ho.].


== Details ==
== Introduction ==


[[Notepad_Plus_Plus|Notepad++]] is a free, open source (GPL) source code editor which supports several programming languages running under the Microsoft Windows environment.
[http://notepad-plus.sourceforge.net 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.
This project, based on the Scintilla editor component, is written in C++ with pure Win32 API calls and uses STL. The aim of Notepad++ is to offer a slim and efficient binary with a totally customizable GUI.


[[Image:Notepad_plus_plus-NSIS-Settings.png|right|thumb|180px|Notepad++ with NSIS Integration]]
[[Image:Notepad_plus_plus-NSIS-Settings.png|right|thumb|180px|Notepad++ with NSIS Integration. [https://web.archive.org/web/20100210154702if_/http://notepad-plus.sourceforge.net/uk/screenshots.php More screenshots].]]  
 
[http://notepad-plus.sourceforge.net/uk/screenshots.php More screenshots]


== Features ==
== Features ==


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


Line 36: Line 30:
'''Additional Help'''
'''Additional Help'''


'''[http://notepad-plus.sourceforge.net/uk/run-HOWTO.php Run.. Help]'''
'''* [https://web.archive.org/web/20100316175746if_/http://notepad-plus.sourceforge.net/uk/run-HOWTO.php Run.. Help]'''
----
|}
|}


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




Line 50: Line 43:


* Type in the location of the NSIS file named "makensisw.exe"
* Type in the location of the NSIS file named "makensisw.exe"
**  If there is spaces in the location, use "" around the directory name
**  If there are spaces in the location, use "" around the directory name


* After the location, put a space and type  "$(FULL_CURRENT_PATH)"
* After the location, put a space and type  "$(FULL_CURRENT_PATH)"
**  -(e.g. "C:\Program Files\NSIS\makensisw.exe" "$(FULL_CURRENT_PATH)")
**  -(e.g. <code>"C:\Program Files\NSIS\makensisw.exe" "$(FULL_CURRENT_PATH)"</code>)
 
* Click save, and name the command (e.g. NSIS Compiler).  You can select a keybinding as well, though it is option. (e.g. Alt+F1)
 
'''''Updated from the old guide because it doesn't seem to work well with the new version of NSIS, and as well, your 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'''''
 
''Using Windows7 (or Vista)'' you have to make the changes in the file "C:\Users\%USERNAME%\AppData\Roaming\Notepad++\shortcuts.xml" or delete this file before (after doing an backup!).
On Installing Notepad++ using Windows7 (or Vista): don't use the first install-option!!!
 
'''NSIS Function & Section Listings:'''
* In the menu, select Plugins -> Function List -> List..


== Links ==
* Click save, and name the command (e.g. NSIS Compiler).  You can select a keybinding as well (e.g. Alt+F1) if you wish.


* [http://notepad-plus.sourceforge.net/ Notepad++ homepage].
* [http://en.wikipedia.org/wiki/Notepad_Plus_Plus Notepad++ Wikipedia].


[[Category:Development Environments]]
[[Category:Development Environments]]
[[Category:Syntax_Highlighting]]
[[Category:Syntax_Highlighting]]

Revision as of 22:51, 12 May 2023

Introduction

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. 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.
  • Code Folding.
  • Tabbed Editing.
  • Auto-completion.
  • Reg-ex search and replace.
  • No Admin requirement for installation.
  • Scriptable key bindings.
  • Has translatable interface to many languages (available in English, Spanish, French, Russian, German).
  • 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 features such as Function Lists assist with 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 are spaces in the location, use "" around the directory name
  • After the location, put a space and type "$(FULL_CURRENT_PATH)"
    • -(e.g. "C:\Program Files\NSIS\makensisw.exe" "$(FULL_CURRENT_PATH)")
  • Click save, and name the command (e.g. NSIS Compiler). You can select a keybinding as well (e.g. Alt+F1) if you wish.