PSPad: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Fixed missing space and grammar.)
Line 7: Line 7:
* want to save money and still have the functionality of professional products
* want to save money and still have the functionality of professional products


== Integrating with NSIS ==
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
PSPad can integrate with NSIS perfectly with both syntax highlighting and compiling abilities.  To enable this, you must perform the following steps:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# In the menu, select Settings -> Highlighter Settings.
<html xmlns="http://www.w3.org/1999/xhtml" lang="pl" xml:lang="pl">
# Select a free "<not assigned>" item.
# [[Image:PSPad-NSIS-Settings.png|right|thumb|150px|PSPad Compiler Settings]]Under "User Highlighters", select ''Nullsoft Install System''.
# Under the "Specification" tab, set the Help File to ''NSIS.chm'' found in the NSIS directory.
# In the "Compiler" tab, set the compiler property to ''makensis.exe'' in the NSIS directory (you can browse for it).
# Set the Parameters property to ''"%File%"'', with the quotes.
# Check on ''Save All Files Before Compilation''.
# Check on ''Capture Program Output Window''.
# Check on ''Hide Output Window''.
# In LOG Parser, enter the following: ''Error in script "%F" on line %L*''
# Hit OK.
# PSPad should now be able to open *.nsi files and display NSIS syntax highlighting. You can also hit compile (CTRL-F9) and it will compile the application from PSPad itself, displaying the output in the Log window.  You can double click on errors to be taken to the error's line number.  When you don't know what a command means, highlight it, right click and select "Help for Language".


== NSIS Syntax Highlighter for PSPad ==
== NSIS Syntax Highlighter for PSPad ==

Revision as of 14:00, 25 September 2010

Author: Rob Loach (talk, contrib)


PSPad with NSIS integration

PSPad editor is freeware programmer editor, usable for people who:

  • work with various programming environments
  • like highlighted syntax in code
  • need a small tool with simple controls and the capabilities of a mighty code editor
  • are looking for a tool to work with plain text
  • want to save money and still have the functionality of professional products

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="pl" xml:lang="pl">

NSIS Syntax Highlighter for PSPad

You can download the highlighter: Highlighter.zip (2 KB). Place it in your PSPad\Syntax folder.

See also