오래전 이야기/Internet

Notepad++

리눅스 엔지니어였던 2008. 12. 26. 19:15

Binary files

For the binary (executable program) download, you have 2 choices: zip format and executable installer format. The installer format should suit for everyone since it gives all the possibilities (the choice of language, the options for components to install...). Whereas the zip format contains the minimum files to execute Notepad++.

For the zip format installation, if it's the first time you install Notepad++, just unzip the zip file to desired directory, then execute notepad++.exe. However, if you upgrade Notepad++ from the previous version, you have to follow the instructions:

  1. Get Run Dialog by clicking start->run (Notepad++ should be closed).
  2. Copy this text %APPDATA%\Notepad++ into the text field of Run Dialog.
  3. Click ok. A folder named "Notepad++" will appear.
  4. Delete 2 files config.xml and stylers.xml then unzip the zip file and launch Notepad++.

Download Notepad++ executable files

 

Source files

To build this package:

  • For generating the executable file (notepad++.exe), you can use VC++ 7 or MinGW 3.0 / 2.X . A makefile is available, but not maintained anymore. I suggest you generate makefile via CMakeLists.txt come with this project by using cmake.
  • For generating the dll files (SciLexer.dll) , you have to use VC++ 6 or MinGW 3.0 / 2.X

All the binaries will be built in the directory notepad++\PowerEditor\bin

Download Notepad++ source files

 

Plugins

From the v3.1, Notepad++ has the extension capacity - the plugin system. Please see Plugins HOWTO to learn how to install a plugin or/and how to develop a plugin.

 

Plugin

Info
Author
Function List
Function list offers a list of fuction (or section)
according of the language of current document, in order to access to the function or section you need quickly.
The supported languages are : C, C++, Resource File, Java, Assembler, MS INI File, HTML, Javascript, PHP, ASP, Pascal, Python, Perl, Objective C,  LUA, Fortran, NSIS, VHDL, SQL, VB and BATCH.
Insertion
Plugin Demonstration : Insertion of current file name and date & time. Auto-close the html/xml tag
XML Tools
This plugin is a small set of useful tools for editing XML with Notepad++. The plugin is libXML2-based.
The plugin features are:
- XML syntax Check
- XML Schema (XSD) + DTD Validation
- XML tag autoclose
- Pretty print
- Linarize XML
- Current XML Path
- Conversion XML <-> Text
- Comment / Uncomment
- XPath expression evaluation
TextFX
TextFx is one of the first plugins while the plugin system was available in Notepad++.
You will be amazed by its huge number of features and its small size.
Here is Text FX official site with detail Information.
Explorer plugin
Explorer plugin is a file browser. You can open whatever you want from it in Notepad++, just double click!
ConvertExt
ConvertExt is a plugin for Notepad++ 3.5 and above. This plugin allows Notepad++ to:
- view a text file in different encodings (codepages);
- convert a text file from one encoding to another;
- add and work with your own [external] encoding tables;
- replace a typed character by another user-defined character;
- autocomplete a left bracket with a corresponding right bracket
Hex Editor
It's a damn good Hex Editor - works seamlessly with Notepad++
Colour Picker
A colour picker which translates your selected colour in hexadecimal. You can download its source code
Doc Updater
Document updater updates your opened documents in Notepad++ every 3 seconds.
QuickText
A fantastic generic snippet manager, which supports all the languages supported by Notepad++.
SearchInFiles
A nice done Find in files plugin with which you have a lot of extra informations.
NppExec
With this NppExec plugin you can execute your commands or saved scripts without leaving Notepad++. It makes you triple your productivity!
Light Explorer
A light explorer plugin not only in weight but also in speed.
Spell-checker
Here is the spelchecker spellcheker spellchecker which can corect correct your typos in your langage (damn!) language. You need to instal install Aspell before using it.
DBGP plugin
This is a php debugger (XDebug) which talks DBGP protocol. Use this plugin to transform your Notepad++ to a php IDE.
Compare Plugin
A very useful diff plugin to show the difference between 2 files (side by side).
SecurePad
With this you can encrypt/decrypt whole documents or selected text with your own key.
It is useful for storing sensitive information like logins and you don't want them lying around in a plaintext file.
FTP_synchronize
A FTP client which is integrated in Notepad++ seamlessly.
Open a php file from a server of distance, modify it, save it and try it on your browser directly just like you work locally.
HTMLTag
This plug-in provides two core functions to Notepad++:
- HTML and XML tag matching, like the built-in brace matching (Ctrl+B / Shift+Ctrl+B)
- HTML entity encoding/decoding (example: é to &eacute; and vice versa)
NppExport
NppExport is a true WYSIWYG exporter.
It allows you not only to save your source code as a html/rtf file, but also to copy your source code in the clipboard in RTF/HTML format, so you can paste it into your word processor (MS Word, Abiword, openoffice.org Writer) to get the same visual effect.
NativeLang
NativeLang allows you to translate the plugin menu/dialog in your native language.
Simple script
Simple script plug-in allows you to make up your script from buid-in functions then execute the script in linear. It was originally designed to help format e-books for easier reading on a computer screen, but it's generic enough to use for a variety of different purposes.
MultiClipboard
MultiClipboard plugin implements multiple (10) text buffers that is filled up via copying and/or cutting of text. To paste any text from the buffers, use
Ctrl-V or middle mouse click (normal paste):
to paste the most recently copied/cut text
Ctrl-Shift-V or Shift-middle mouse click:
to pop up a menu with the text buffer entries. Select the desired menu item to paste it
SpeechPlugin
No kidding, Notepad++ speakes now.
Use SpeechPlugin, you can make Notepad++ dictate your text or source code.
Of course, the speakers is necessary.
WindowManager
If you open a lot of file every time you launch Notepad++, WindowManager may help you to swich a file to another.
This screenshot will explains better.
Gmod 10 Lua Syntax Highlighter
A Garry's Mod 10 lua syntax highlighter plugin. It's also a good demostration of syntax highlighter plugins for Notepad++
Log plugin
Log plugin allows Notepad++ has one of MS Notepad basic features : Append the date/time at the end of file after a file is opened in Notepad++, if file begins with ".LOG".

 

Notepad Replacement

Here's a little Notepad++ launcher which allows you to replace Notepad completely by Notepad++.

Installation Instruction:

  • Backup your original Notepad.exe (we never know...).
  • Copy notepad.exe which comes with this package into 4 directories (in given order) :
    1. c:\windows\servicepackfiles\i386
    2. c:\windows\system32\dllcache
    3. c:\windows\system32
    4. c:\windows
    When you replace notepad.exe in c:\windows\system32 and c:\windows, a "Windows File Protection" message box appears, click Cancel. Then another message box appears, click OK.
  • Modify you registry (if you use installer to install your Notepad++, you don't need to do this step): Create key \HKEY_LOCAL_MACHINE\SOFTWARE\Notepad++, then add your Notepad++ full path as the default value of this key. In my case, it's C:\Program Files\Notepad++.

Now Notepad++ is your default Notepad.

I make a point of thanking Stépho for his contribution. The source code is available here.

 

Explorer context menu entry (right click)

One of the most demanded features is open from Explorer Context Menu Entry (right click). The context menu feature comes with the installer. If you use the zipped package, download Notepad++ Context Menu Component, unzip nppCM.bin.zip to your notepad++ directory, then run reg.bat. This component is modified from the MIT open source project WSciTEcm (Context Menu Extension for SciTE), made by Andre Burgaud to meet the need of Notepad++. The modified source code is available here.

For the x64 OS (xp and vista) users, you can use nppCM 64 bits thanks to Harry B.. Download nppCM 64 bits source if you want to build your binary.

 

Offline Help file (User Manual)

Notepad++ is quite easy for general usage. However if you want to use some more sophisticated features, you may need help file. 3 formats are available : Offline Help file in format chm, User manual in format pdf and User manual in format postscript .

I thank Adrien Sales for his contribution.

 

Logos

Some people asked me for Notepad++ logos to put on there sites. So here they are.

                 

 

           

 

 

Language files

Notepad++ (from v2.3) supports the multilanguage functionality by means of a translated xml file (from english.xml). Normally you don't need it if you install Notepad++ by its installer. You may need the language file if you install Notepad++ from zip format binary (or if your language is not supported by NSIS installer).

To make Notepad++ speak another language, you have to :

  1. Download the language you need, rename it to nativeLang.xml.
  2. Get Run Dialog by clicking start->run then type %APPDATA%\Notepad++ into the text field of Run Dialog.
  3. Copy nativeLang.xml into the opened Directory
  4. Launch Notepad++

Here are the available languages for Notepad++ for the moment:

by Don HO by Don HO
by Alberto Martínez
& Alzacon
& Maira Belmonte
& Larvitus
by György Bata
by Sergey Frolov
& Piros aka Wonderer
& Stjujsckij Nickolaj
by Hans Luijten
& Harm Hilvers
& Klaas Nekeman
by Li Chen
& noword
& DING2M
& Wang Yong-Xian
by Marek Robak
& Dzajek
& Andrzej Michalski
by Dominik Geyer
& Heinz Hemker
& Meinrad Schwamborn
by Consonni Daniele (bitmap)
& Alberto Doria
& Luca Tarasi
& Luca Leonardi
by Kenneth Mikkelsen
& Holger Terkelsen
& Jørgen Rasmussen
by Ondrej Muller
& Tomáš Hrouda
by Jure Zemljic by Juraj Valašik
& Vladimír Belička
by Taras Budurovych by FIRAT KÜÇÜK
& Yavuz Tona
by Cristiano Ascari
& Ricardo Crudo
by Geir Håkon Eikland
by Kjell Rask
& Timmy Almroth
& Johan Fredin
by Manel Guerra
& el_libre
by Motaz Isamil
& Abdulelah AlWabel
by Meskauskas Audrius
by Emilio Rodríguez
& Fabrica
by Jaakko Salonen
& Lukeboxi
by Dionysis Zindros
& Θόδωρος Στεφανίδης
by Viorel RB
& Alexandru Bogdan Munteanu
by Purgossu by Kim Taegon
& Choi Ji-Hui
by Ran Sasson
& Ofir Aviram
by Bruno Antunes
& José Caetano Silva
by Khosro Afroozeh by Mindaugas Machernis
by Milen Metev (Tragedy) by Dwi Susanto
by Fatmir Raka by Chris Campbell
& Kentaro Suzuki
by Sivi by Daniel
by Ander Martinez Sanchez by Javier Torres
by Eduardo Leon by Робин Кот
by Branislav Lukic by Thomas Bernes
by Wiennat Mongkulmann by Andi Rady
by Yannig MARCHEGAY by A. Decorte

API files

Notepad++ supports the auto-completion (from the v2.0). Please see auto-completion HOWTO to learn more about it.

Here are some api files that you may need :

vb.api : by Wilco Bloom java.api : by Blaise Le Goff
c.api : by Blaise Le Goff javascript.api : by Blaise Le Goff
python.api : by Blaise Le Goff flash.api : by Blaise Le Goff
cpp.api : by Adam Mullett vhdl.api : by Andrey
smarty.api : by Helge de Vries css api with colors : by Joseph Smith
docbook : by Adrien lisp.api : by Wolfgang Wahlh�tter
dcl.api : by Wolfgang Wahlh�tter WinBatch : by Nicolas Couthouis
KiXtart : by Nicolas Couthouis ColdFusion : by Bernhard Steffen
ruby.api : by Arne Hormann TeX.api : by isntanton
C#.api : by Jon Galloway nsis.api : by Sebastian Armbrust
fortran.api : by media pascal.api : by Nikola Jankovic

User Defined Language files

There are some language files that you may need. Here're the instructions to install them :

  1. Download the user-defined language to your computer
  2. Open the file with your favourite text editor (such as notepad++ or notepad)
  3. Click start, run, type (or paste in) %APPDATA%\Notepad++ then click ok
  4. Open userDefineLang.xml with a text editor
  5. If this is the first userdefined language you are adding, copy/paste the entire first file (which you downloaded) into the userDefineLang.xml, replacing all that was there. If this is the second or more language you add, simply copy everything from the first file starting at <UserLang...> to </UserLang> and paste it at the end of the userDefineLang.xml right before </NotepadPlus>
  6. Save the newly improved userDefineLang.xml

Please see User Language Define System HOWTO to have further information.

Cue Sheet : by György Bata Smarty : by Helge de Vries
DCL : by Wolfgang Wahlh�tter WinBatch : by Nicolas Couthouis
Autohotkey : by Matthias Goodwin HLSL : by universal
ColdFusion : by Bernhard Steffen UnrealScript : by DarthDevilous
PowerShell : by Jon Galloway RenderMan Shading Language & RIB : by Stefan Gustavson
Cobol : by Alain Chappuis Cobol (v2) : by Alain Chappuis
AWK : by Vitaliy Dovgan Sap ABAP : by Franco Capetta
SAS : by Joakim STATA : by Keith Kranker

Style files

styles.xml plays a role for the look and feel of your Notepad++. It manages the colours and fonts for each language supported by Notepad++. If you want to share your style file, mail it to me.

Ruby Blue (Screenshot) : by tomsolo
Vibrant Ink (Screenshot) : by Tyler Ritchie

Theme Package

Requirement: v2.4 or upper version

Installation:

  1. Unzip all the files into a directory, say C:\foo\.
  2. Open the toolbarIcon.xml which comes with this package with your favourite editor (Notepad++, of course ;) ). replace E:\Sources\notepad++\PowerEditor\bin\newIcons\ by C:\foo\ in the tag<Theme name = "Demo" pathPrefix = "E:\Sources\notepad++\PowerEditor\bin\newIcons\"> then save it.
  3. Get Run Dialog by clicking start->run, type %APPDATA%\Notepad++ into the text field of Run Dialog, and then type ENTER. A folder named Notepad++ will appear. Copy the modified toolbarIcon.xml into opened folder.
  4. Now it's the magic moment: Close the Notepad++ then re-launch it. You'll see the Crystal icon set instead of the default icons.

Don't forget to check the menu item "View->Tool Bar->Enlarge me", otherwise it won't take effect.

 

Notepad++ Theme Demo Package

Note: I didn't find out the icons standing for the items Wrap text, Invisible characters and show/hide indent guideline.
If you have the icons match them, please send them to me.

 

Crystal++ Theme Package

A complete set of high quality icons, made by Alican Toprak.


=======================
<출처: http://notepad-plus.sourceforge.net/uk/download.php >