Difference between revisions of "Editor: Notepad plus plus"

From Dreamwidth Notes
Jump to: navigation, search
m
(Programming Settings: + show vertical edge for 100-character limit)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://notepad-plus-plus.org/ Notepad++] is a simple editor with a Notepad-like interface but also with features such as varied syntax highlighting themes and document compare tools which make it nicer and much more useful, even for basic text writing and editing.
+
[http://notepad-plus-plus.org/ Notepad++] is a simple editor for Windows with a Notepad-like interface but also features such as tabs, syntax highlighting themes and document compare tools which make it much nicer and much more useful, even for basic text writing and editing. It is available in many languages, included by default, and can also automatically recognize most programming languages.
  
= Useful Settings =
+
= Programming Settings =
  
* To make sure you're using spaces and not tabs for indents, go to Settings/Preferences/Language Menu&Tab Settings and check 'Replace by space' on the right side.
+
To comply with Dreamwidth's requirements:
  
* To make sure white spaces and tabs are always displayed, go to View/Special Characters and check 'Show White Space and Tab'.
+
* Go to Settings/Preferences/New document and select 'Unix' for line-breaks and 'UFT-8 without BOM' for encoding.
  
* To deactivate the auto-indentation, go to Settings/Preferences/Misc and uncheck 'Auto-indent'.
+
* Go to Settings/Preferences/Tabs and check 'Replace by space'.
  
= Switching Syntax Highlight Themes and Editing Them =
+
* Go to Settings/Preferences/Editing and check 'Show vertical edge' (the number of columns should be set to 100 by default).
  
* Notepad++ has several syntax highlight themes you can choose. Go to Settings/Style Configurator to select your favorite. However, you'll see that when you open the program again it's gone back to using its default theme. To change that, open Explorer and go to C:/programs/Notepad++/themes. Copy paste your favorite theme into C:/programs/Notepad++. Rename it to stylers.xml. You may need Administrator rights to do this.
+
= Other Settings =
  
* To permanently change the default values of your theme, you can edit the .xml file, save it to another folder then cut/paste it again in the right folder; it won't let you save it otherwise. You may need Administrator rights to do this.
+
* To always display tabs and white spaces, go to View/Special Characters and check 'Show White Space and Tab'.
 +
 
 +
* To deactivate auto-indents, go to Settings/Preferences/Misc and uncheck 'Auto-indent'.
 +
 
 +
= Editing Syntax Highlight Themes =
 +
 
 +
To permanently change the default values of your theme, go to /Programs/Notepad++/themes, copy the .xml file, paste it in another folder, edit it then move it back to the original folder (you can't edit it directly). You may need Administrator rights to do this.
  
 
= Notepad++ and Other Software =
 
= Notepad++ and Other Software =
  
 
* [http://linhost.info/2008/01/notepad-and-filezilla-tip/ Using Notepad++ with FileZilla]
 
* [http://linhost.info/2008/01/notepad-and-filezilla-tip/ Using Notepad++ with FileZilla]
 +
 +
* Using Notepad++ with [http://winscp.net/eng/download.php WinSCP]: go to View/Preferences/Editors. Click on Add/External Editor and Browse. At the end don't forget to click on Up to make it the first editor in the list.
  
 
[[Category: Editors]]
 
[[Category: Editors]]
 +
[[Category:Getting Started]]

Latest revision as of 14:25, 23 October 2013

Notepad++ is a simple editor for Windows with a Notepad-like interface but also features such as tabs, syntax highlighting themes and document compare tools which make it much nicer and much more useful, even for basic text writing and editing. It is available in many languages, included by default, and can also automatically recognize most programming languages.

Programming Settings

To comply with Dreamwidth's requirements:

  • Go to Settings/Preferences/New document and select 'Unix' for line-breaks and 'UFT-8 without BOM' for encoding.
  • Go to Settings/Preferences/Tabs and check 'Replace by space'.
  • Go to Settings/Preferences/Editing and check 'Show vertical edge' (the number of columns should be set to 100 by default).

Other Settings

  • To always display tabs and white spaces, go to View/Special Characters and check 'Show White Space and Tab'.
  • To deactivate auto-indents, go to Settings/Preferences/Misc and uncheck 'Auto-indent'.

Editing Syntax Highlight Themes

To permanently change the default values of your theme, go to /Programs/Notepad++/themes, copy the .xml file, paste it in another folder, edit it then move it back to the original folder (you can't edit it directly). You may need Administrator rights to do this.

Notepad++ and Other Software

  • Using Notepad++ with WinSCP: go to View/Preferences/Editors. Click on Add/External Editor and Browse. At the end don't forget to click on Up to make it the first editor in the list.