Template:Short description Template:Use dmy dates {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters | check | showblankpositional=1 | unknown = Template:Main other | preview = Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y | AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo upright | logo size | logo title | logo_alt | logo_caption | logo_upright | logo_size | logo_title | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot upright | screenshot size | screenshot title | screenshot_alt | screenshot_upright | screenshot_size | screenshot_title | service_name | size | standard | title | ver layout | website | qid }}Template:Main other
Template:DistinguishNotepad++ (sometimes npp or NPP) is a text and source code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in one window. The program's name comes from the C postfix increment operator.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
Notepad++ is released as free and open-source software under a GNU General Public License (GPL) 3.0 or later. At first, the project was hosted on the SourceForge software repository (2003–2010), from where it was downloaded over 28 million times,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and twice won the SourceForge Community Choice Award for Best Developer Tool.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Then, the project moved to TuxFamily (2010–2015), and then to GitHub (2015–present).<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Notepad++ uses the Scintilla editor component.
HistoryEdit
Notepad++ development began in September 2003 by Don Ho, a former Paris Diderot University computer science student.<ref name="theinitialcommit/don-ho"/><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name="LH2015AU">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Ho first used JEXT (a Java-based text editor)<ref name="jext.org">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> at his company but, dissatisfied with its poor performance, he began to develop a text editor written in C++ with Scintilla.<ref name="LH2015AU"/> He developed it in his spare time since the idea was rejected by his company.<ref name="LH2015AU"/> Notepad++ was built as a Microsoft Windows application; the author considered, but rejected, the idea of using wxWidgets to port it to the Mac OS X and Unix platforms.<ref name="LH2015AU"/>
Notepad++ was first released on SourceForge on 25 November 2003, as a Windows-only application.<ref name="theinitialcommit/don-ho">Template:Cite news</ref> It is based on the Scintilla editor component, and is written in C++ with only Windows API (Win32) application programming interface (API) calls using only the Standard Template Library (STL) to increase performance and reduce program size.<ref name="Features" /><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
In January 2010 the US government obliged US-based open source project hosts to deny access from Cuba, Iran, North Korea, Sudan, and Syria to comply with U.S. law.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> As a response to what the developer felt was a violation of the free and open-source software (FOSS) philosophy, in June 2010 Notepad++ moved out of US territorial jurisdiction by releasing a version on TuxFamily, in France. Some community services of Notepad++ (such as the forums and bug tracker) remained on SourceForge until 2015 when Notepad++ left SourceForge completely.<ref name="new-site-notepad-plus-plus.org">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name=":0">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
In 2011 Lifehacker described Notepad++ as "The Best Programming Text Editor for Windows", stating that "if you prefer a simple, lightweight, and extensible programming plain-text editor, our first choice is the free, open-source Notepad++".<ref name="lh2011">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Lifehacker criticized its user interface, stating that "It is, in fact, fairly ugly. Luckily you can do a lot to customize its looks, and what it lacks in polish, it makes up for in functionality".<ref name="lh2011"/>
In 2014 Lifehacker readers voted Notepad++ as the "Most Popular Text Editor", with 40% of the 16,294 respondents specifying it as their most-loved editor.<ref name="LH2014">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The Lifehacker team summarized the program as being "fast, flexible, feature-packed, and completely free".<ref name="LH2014"/>
In 2015 Stack Overflow conducted a worldwide Developer Survey, and Notepad++ was voted as the most used text editor worldwide with 34.7% of the 26,086 respondents claiming to use it daily.<ref name="so2015ds">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Stack Overflow noted that "The more things change, the more likely it is those things are written in JavaScript with NotePad++ on a Windows machine".<ref name="so2015ds"/> The 2016 survey had Notepad++ at 35.6%.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
In 2015, in response to the staff hijacking of projects hosted on SourceForge, Notepad++ left SourceForge completely with the forums being moved to NodeBB and the bug tracker to GitHub.<ref name=":0" /><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> In 2019, the website, notepad-plus-plus.org, moved to Hostinger.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name=":0"/><ref name="new-site-notepad-plus-plus.org"/>
FeaturesEdit
Notepad++ is a source code editor. It features syntax highlighting, code folding and limited autocompletion for programming, scripting, and markup languages, but not intelligent code completion or syntax checking. As such, it may properly highlight code written in a supported scheme, but whether the syntax is internally sound or compilable, cannot be verified.<ref name="so2015ds"/><ref name="udf">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>Template:Cite news</ref><ref name="Features">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> As of version 7.6.3, Notepad++ can highlight the elements of 78 syntaxes: Template:Div col
- ActionScript
- Ada
- ASN.1
- ASP
- Assembly
- AutoIt
- AviSynth scripts
- BaanC
- batch files
- Blitz Basic
- C
- C#
- C++
- Caml
- CMake
- Cobol
- CoffeeScript
- Csound
- CSS
- D
- Diff
- Erlang
- escript
- Forth
- Fortran
- FreeBASIC
- Gui4Cli
- Haskell
- HTML
- INI files
- Intel HEX
- Inno Setup scripts
- Java
- JavaScript
- JSON
- JSP
- KiXtart
- LaTeX
- Lisp
- Lua
- Makefile
- MATLAB
- MMIX
- Nim
- nnCron
- NSIS scripts
- Objective-C
- OScript
- Pascal
- Perl
- PHP
- PostScript
- PowerShell (Broken)
- PureBasic
- Python
- R
- Rebol
- Registry script (.reg)
- Resource file
- Ruby
- Rust
- Scheme
- Shell script
- Smalltalk
- SPICE
- SQL
- Swift
- S-Record
- Tcl
- Tektronix HEX
- TeX
- txt2tags
- TypeScript
- Visual Basic
- Visual Prolog
- VHDL
- Verilog
- XML
- YAML
Template:Div col end The language list also displays two special-case items for ordinary plain text: "Normal text" (default) or "MS-DOS Style", which tries to emulate DOS-era text editors.
Notepad++ has features to consume and create cross-platform plain text files. It recognizes three newline representations (Template:Mono, Template:Mono, and Template:Mono) and can convert between them on the fly. In addition, it supports reinterpreting plain text files in various character encodings and can convert them to ASCII, UTF-8 or UCS-2. As such, it can fix plain text that seem gibberish only because their character encoding is not properly detected.
Notepad++ also has features that improve plain text editing experience in general, such as:
- Autosave
- Finding and replacing strings of text with regular expressions
- Searching text strings within opened tabs
- Searching text strings in a directory
- Guided indentation
- Line bookmarking
- Macros
- Simultaneous editing<ref>{{#invoke:citation/CS1|citation
|CitationClass=web }}</ref>
- Split screen editing and synchronized scrolling
- Line operations, including sorting, case conversion (Uppercase, lowercase, camel case, sentence case), and removal of redundant whitespace
- Tabbed document interface<ref>Template:Cite news</ref>
PluginsEdit
Notepad++ has support for macros and plugins,<ref>Template:Cite news</ref> and has been remarked for its robust plugin architecture which enabled various new features to be integrated into the program.<ref>Template:Cite news</ref> Currently, over 140 compatible plugins are developed for Notepad++, 10 of which are included by default in the program.<ref name="download">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The first plugin to be included in the program was "TextFX", which includes W3C validation for HTML and CSS, text sorting, character case alteration and quote handling.<ref name="textfx">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
InternationalizationEdit
Notepad++ supports internationalization through XML files in an application-specific format containing all internationalized strings (dialog captions, menu titles and items, etc.) in a certain language; this file can be reloaded from the application settings. Translations to new languages can thus be written by simply editing an existing file.
Political messagingEdit
Notepad++ is notable for being vocal in politics, particularly in human rights and opposition to war.
In March 2008, the "Boycott Beijing 2008" banner was placed on Notepad++'s SourceForge.net homepage.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> A few months later most users in China were unable to reach the SourceForge.net website from 26 June to 24 July 2008. This led to the widespread belief that China had banned SourceForge.net in retaliation for the Boycott banner.<ref name="moonblog">SourceForge Blocked In China. Moonlight Blog. 26 June 2008.</ref><ref>SourceForge Unblocked in China. Moonlight Blog. 24 July 2008.</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
In January 2015, the Notepad++ website was hacked by activists from the Fallaga Team who objected to an Easter egg endorsing Je suis Charlie.<ref>Template:Cite news</ref> The Fallaga Team has been linked to ISIL and is also believed to be responsible for the 2017 hacking of websites of the British National Health Service.<ref>Template:Cite news</ref>
In October 2019, Notepad++ released a version codenamed "Free Uyghur" (v7.8.1). In the release notice, the author expressed concern that hundreds of thousands of Uyghurs have been "subjected to political indoctrination, and sometimes even torture" in the Xinjiang re-education camp. He called for "additional pressure on the Chinese government to stop their oppressive actions and crimes concerning the Uyghur people".<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The software's dedicated site came under a distributed-denial-of-service attack and its GitHub issue page was bombarded with nationalistic rhetoric, though it later recovered after being moved behind Cloudflare's anti-DDoS service.<ref>Template:Cite news</ref><ref>Template:Cite news</ref>
In July 2020, Notepad++ released a version codenamed "Stand with Hong Kong" (v7.8.9). In the release notice, the author expressed his concern about the Chinese government implementation of the National Security Law in Hong Kong.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> In retaliation, mainland Chinese browsers developed by Tencent (QQ Browser and WeChat's built-in browser), Alibaba (UC Browser), 360 and Sogou started blocking the official site's Download page, but not other pages.<ref>Template:Cite news</ref>
In early and mid-February 2022, Notepad++ released a version codenamed "Boycott Beijing 2022" (v8.3) and (v8.3.1). In the release notice, the author expressed his concern about human rights in China, especially for Uyghurs and Hongkongers. He suggest his audience "not watch or pay attention to the games".<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
In late February 2022, Notepad++ released a version codenamed "Declare variables, not war" (v8.3.2). In the release notice, the author condemned the Russian invasion of Ukraine and called for support for Ukraine.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> In March 2022, Notepad++ released a version codenamed "Make Apps, not war" (v8.3.3). The author continued to express his views on the Russian invasion of Ukraine.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
In summer of 2024, Notepad++ released updates supporting Taiwan, including "Support Taiwan's Sovereignty" (v8.6.8),<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> "Support Taiwan's Independence" (v8.6.9),<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and "Support Taiwan's return to the UN" (v8.7).<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
In November 2024, Notepad++ showed support for Ukraine again, with a release titled "in a world of Elon, be a Zelensky" (v8.7.2),<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and another criticism of Elon Musk with "leaving X for Bluesky" (8.7.3).<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>