Notepad++ official repository
Go to file
Don HO 07b7653163 Remove Updater binaries 2018-05-20 03:28:48 +02:00
PowerEditor Remove Updater binaries 2018-05-20 03:28:48 +02:00
scintilla Fix EOLs 2018-02-27 20:31:22 -05:00
.gitignore Fix the regression in settings 2017-01-23 09:47:37 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-10-09 02:04:02 +02:00
ISSUE_TEMPLATE.md Corrected typo 2017-08-08 01:36:11 +02:00
LICENSE Update License 2016-01-04 14:56:48 +01:00
README.md Add version badge 2017-09-20 00:57:06 +02:00
appveyor.yml correct appveyor.yml VS vcxproj after rename 2017-10-19 23:29:10 +02:00

README.md

What is Notepad++ ?

Join the disscussions at https://notepad-plus-plus.org/community/     Join the chat at https://gitter.im/notepad-plus-plus/notepad-plus-plus

Notepad++ is a free (free as in both "free speech" and "free beer") source code editor and Notepad replacement that supports several programming languages and natural languages. Running in the MS Windows environment, its use is governed by GPL License.

Build Status

Appveyor build status GitHub release

To build Notepad++ from source:

There are two components that need to be built separately:

  • notepad++.exe: (depends on SciLexer.dll)
  • SciLexer.dll : (with nmake)

You can build Notepad++ with or without Boost - The release build of Notepad++ is built with Boost.

Since Notepad++ version 6.0, the build of SciLexer.dll that is distributed uses features from Boost's Boost.Regex library.

You can build SciLexer.dll without Boost, ie. with its default POSIX regular expression support instead of boost's PCRE one. This is useful if you would like to debug Notepad++, but don't have boost.

To build notepad++.exe:

  1. Open PowerEditor\visual.net\notepadPlus.vcxproj
  2. Build Notepad++ like a normal Visual Studio project.

To build SciLexer.dll with boost:

Here are the instructions to build SciLexer.dll (for both 32-bit & 64-bit) for Notepad++:

  1. Download the Boost source code. v1.55 should be used with VS 2013. Then unzip it. In my case, boost_1_55_0 is copied in C:\sources\
  2. Go to scintilla\boostregex\ then run BuildBoost.bat with your boost path. In my case: BuildBoost.bat C:\sources\boost_1_55_0 If you are compiling a 64 bit Scintilla under your VS2013 x64 Native tool command prompt, add -x64 flag. In my case: BuildBoost.bat C:\sources\boost_1_55_0 -x64
  3. Go in scintilla\win32\ then run nmake -f scintilla.mak

To build SciLexer.dll without boost:

This will work with notepad++.exe, however some functionality in Notepad++ will be broken.

To build SciLexer.dll without PCRE support (for both 32-bit & 64-bit):

  1. For 32-bit, open a command prompt for building (a.k.a. the Developer Command Prompt for VS2013)

    • From the IDE, you can do this by right clicking on a file in Solution Explorer, and clicking "Open Command Prompt". This will open up a command prompt with all the proper environment variables.
    • From the Windows Start screen/menu, type Developer Command Prompt for VS2013, and click/select the result.
    • From an already open command prompt, run vcvarsall.bat (e.g. "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat").

    For 64-bit, open VS2013 x64 Native tool command prompt.

  2. Change directory (cd or pushd) to scintilla\win32\

  3. Build SciLexer.dll with one of the following commands:

    • nmake NOBOOST=1 -f scintilla.mak (normal build)
    • nmake NOBOOST=1 DEBUG=1 -f scintilla.mak (debugging build)
  4. Copy SciLexer.dll from scintilla\bin\ to the same directory as notepad++.exe.

    • For the Unicode Release configuration, the output directory (where notepad++.exe is) is PowerEditor\bin\.
    • For the Unicode Debug configuration, the output directory (where notepad++.exe is) is PowerEditor\visual.net\Unicode Debug\.

See the Notepad++ official site for more information.

Notepad++ Contributors