Software:Notepad++

From HandWiki
Short description: Text editor and source code editor for Windows
Notepad++
Notepad++ Logo.svg
Notepad++ v7 on Windows 10, with MediaWiki 1.27.1 source code, with split window view and autocompletion.png
Notepad++ v7 on Windows 10, depicting MediaWiki 1.27.1 source code
Developer(s)Don Ho
Initial release24 November 2003; 20 years ago (2003-11-24)
Stable release8[1] (June 7, 2021; 2 years ago (2021-06-07)) [±]
Written inC++
Operating systemWindows[2]
PlatformIA-32, x86-64, AArch64
Available in90 languages
List of languages
Afrikaans, Albanian, Arabic, Aragonese, Aranese, Azerbaijani, Basque, Belarusian, Bengali, Bosnian, Brazilian portuguese, Breton, Bulgarian, Catalan, Chinese Traditional, Chinese Simplified, Corsican, Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Extremaduran, Persian, Finnish, French, Friulian, Galician, Georgian, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Indonesian, Irish, Italian, Japanese, Kabyle, Kannada, Kazakh, Korean, Kurdish, Kyrgyz, Latvian, Ligurian, Lithuanian, Luxembourgish, Macedonian, Malay, Marathi, Mongolian, Norwegian, Nynorsk, Occitan, Piglatin, Polish, Portuguese, Punjabi, Romanian, Russian, Samogitian, Sardinian, Serbian, Serbian Cyrillic, Sinhala, Slovak, Slovenian, Spanish, Spanish Argentinian, Swedish, Tagalog, Tajik Cyrillic, Tamil, Tatar, Telugu, Thai, Turkish, Ukrainian, Urdu, Uyghur, Uzbek, Uzbek Cyrillic, Venetian, Vietnamese, Welsh, Zulu
TypeSource code editor
License2021[lower-alpha 1]: GPL-3.0-or-later[3]
2003[lower-alpha 2]: GPL-2.0-or-later[4]
Websitenotepad-plus-plus.org
Notepad++ is a free and open-source text and source code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in a single window. The product's name comes from the C postfix increment operator; it is sometimes referred to as npp or NPP.[5]

Notepad++ is distributed as free software. At first, the project was hosted on SourceForge, from where it was downloaded over 28 million times[6][7] and twice won the SourceForge Community Choice Award for Best Developer Tool.[8] The project was hosted on TuxFamily [fr] from 2010 to 2015; since 2015, Notepad++ has been hosted on GitHub.[9] Notepad++ uses the Scintilla editor component.

History

Notepad++ was developed by Don Ho in September 2003.[10] Ho first used JEXT (a Java-based text editor) at his company but, dissatisfied with its poor performance, he began to develop a text editor written in C++ with Scintilla.[10] He developed it in his spare time since the idea was rejected by his company.[10] 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.[10]

Notepad++ was first released on SourceForge on 25 November 2003, as a Windows-only application. It is based on the Scintilla editor component, and is written in C++ with only Win32 API calls using only the STL to increase performance and reduce program size.[11][12]

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.[13] 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.[14][15][16]

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++".[17] 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".[17]

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.[18] The Lifehacker team summarized the program as being "fast, flexible, feature-packed, and completely free".[18]

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.[19] 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".[19] The 2016 survey had Notepad++ at 35.6%.[20]

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.[16][21]

Features

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 schema, but whether the syntax is internally sound or compilable, cannot be verified.[19][22][23][11] As of version 7.6.3, Notepad++ can highlight the elements of 78 syntaxes:

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 for consuming and creating cross-platform plain text files. It recognizes three newline representations (CR, CR+LF and LF) 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[24]
  • 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[25]

Plugins

Notepad++ has support for macros and plugins,[26] and has been remarked for its robust plugin architecture which enabled various new features to be integrated into the program.[27] Currently, over 140 compatible plugins are developed for Notepad++, 10 of which are included by default in the program.[28] 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.[29]

Internationalization

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 messaging

In March 2008, the "Boycott Beijing 2008" banner was placed on Notepad++'s SourceForge.net homepage.[30] 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.[31][32][33]

In January 2015, the Notepad++ website was hacked by activists from the Fallaga Team who objected to an Easter egg endorsing Je suis Charlie.[34] 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.[35]

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".[36] The software's dedicated site came under a distributed-denial-of-service attack and its GitHub issue page bombarded with nationalistic rhetoric, though it later recovered after being moved behind Cloudflare's anti-DDoS service.[37][38]

In July 2020, Notepad++ released a version codenamed "Stand with Hong Kong" (v7.8.9). In the release notice, the author expressed his concern on the Chinese government implementation of the National Security Law in Hong Kong.[39] 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.[40]

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 on human rights in China , especially for Uyghurs and Hongkongers. He suggest his audience "not watch or pay attention to the games".[41][42][43]

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 of Ukraine.[44][45] In March 2022, Notepad++ released a version codenamed "Make Apps, not war" (v8.3.3). The author continued to express his views on the Russia invasion of Ukraine .[46][47]

See also

Notes

  1. GPL-3.0-or-later since version 7.9.3.
  2. GPL-2.0-or-later from version 1.0 to 7.9.2.

References

  1. "Notepad++ 8 release". Notepad++. 2021-06-07. https://notepad-plus-plus.org/news/v8-dark-mode/. 
  2. "Supported OS Table". 28 November 2021. https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/SUPPORTED_SYSTEM.md. 
  3. "Notepad++ 7.9.3 release" (in en). 2021-02-15. https://notepad-plus-plus.org/downloads/v7.9.3/. 
  4. "Upgrade Notepad++ License" (in en). 2021-01-24. https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ab5c1d3e2a9718a3cc365c1e44bfae09bb7355bc. 
  5. "Notepad++the most useful plugins for developer (npp)". 30 March 2021. https://dirask.com/posts/Notepad-the-most-useful-plugins-for-developer-npp-jEL2rp. 
  6. "SourceForge.net: Project Statistics for Notepad++". SourceForge.net. http://sourceforge.net/project/stats/detail.php?group_id=95717&ugn=notepad-plus&type=prdownload&mode=alltime&package_id=0. 
  7. "Top Downloads - For all time, updated daily". SourceForge. http://sourceforge.net/top/topalltime.php?type=downloads. 
  8. "SourceForge's 4th Annual Community Choice Awards". SourceForge. http://sourceforge.net/community/cca09/winners/. 
  9. "Notepad++ on GitHub". https://notepad-plus-plus.org/news/notepad-plus-plus-on-github.html. 
  10. 10.0 10.1 10.2 10.3 Orin, Andy (18 June 2015). "Behind The App: The Story Of Notepad++". Lifehacker Australia. http://www.lifehacker.com.au/2015/06/behind-the-app-the-story-of-notepad/. 
  11. 11.0 11.1 "Notepad++ Features". notepad-plus-plus.org. https://notepad-plus-plus.org/features/. 
  12. Gael, Arianna (24 June 2015). "Notepad++ Is Changing Code And Changing The World". Filehippo. http://news.filehippo.com/2015/06/notepad-is-changing-code-and-changing-the-world/. 
  13. "Clarifying SourceForge.net's denial of site access for certain persons in accordance with US law". Slashdot Media. 25 January 2010. https://sourceforge.net/blog/clarifying-sourceforgenets-denial-of-site-access-for-certain-persons-in-accordance-with-us-law/. 
  14. "Notepad++ hosted on new website". Notepad++. 6 June 2010. http://notepad-plus-plus.org/news/notepad-new-site-notepad-plus-plus.org.html. 
  15. "Notepad++ 5.7 released on French servers". Notepad++. 5 July 2010. http://notepad-plus-plus.org/news/notepad-5.7-release-(outside-the-usa).html. 
  16. 16.0 16.1 "Notepad++ leaves SourceForge". https://notepad-plus-plus.org/news/notepad-plus-plus-leaves-sf.html. 
  17. 17.0 17.1 Pash, Adam (6 July 2011). "The Best Programming Text Editor for Windows". Lifehacker. http://lifehacker.com/5818674/the-best-programming-text-editor-for-windows. 
  18. 18.0 18.1 Henry, Alan (24 April 2014). "Most Popular Text Editor: Notepad++". Lifehacker. http://lifehacker.com/five-best-text-editors-1564907215/1567287033. 
  19. 19.0 19.1 19.2 "Stack Overflow Developer Survey 2015". https://insights.stackoverflow.com/survey/2015#tech-editor. 
  20. "Stack Overflow Developer Survey 2016 Results". 18 March 2016. https://insights.stackoverflow.com/survey/2016. 
  21. "Notepad++ Community". https://notepad-plus-plus.org/news/new-notepad-plus-plus-community.html. 
  22. "User Defined Language Files". notepad-plus-plus.org. http://docs.notepad-plus-plus.org/index.php?title=User_Defined_Language_Files. 
  23. DeCarlo, Matthew (26 May 2009). "Download of the Week: Notepad++". http://www.techspot.com/news/34846-Download-of-the-Week-Notepad.html. 
  24. "Notepad++ Multi-editing". https://notepad-plus-plus.org/features/multi-editing.html. 
  25. Fox, Geoff (7 July 2008). "Notepad++ Does It Again Again". AppScout (Ziff Davis Media). http://www.appscout.com/2008/07/notepad_does_it_again_again.php. 
  26. Smith, Tim (21 September 2009). "Notepad++ 5.5". Computeractive. http://www.computeractive.co.uk/computeractive/downloads/2196837/notepad. 
  27. Mombrea, Matthew (15 November 2013). "Tools we love: Notepad++". ITWorld Magazine. http://www.itworld.com/article/2833295/open-source-tools/tools-we-love--notepad--.html. 
  28. "Notepad++". sourceforge.net. http://notepad-plus.sourceforge.net/uk/download.php. 
  29. "TextFX's_Future". SourceForge. http://docs.notepad-plus-plus.org/index.php/TextFX's_Future. 
  30. "About Notepad++". http://notepad-plus.sourceforge.net/uk/site.htm. 
  31. SourceForge Blocked In China. Moonlight Blog. 26 June 2008.
  32. SourceForge Unblocked in China. Moonlight Blog. 24 July 2008.
  33. "Sourceforge.net was blocked in China". GameDev.net. http://www.gamedev.net/community/forums/topic.asp?topic_id=500647. 
  34. Kovacs, Eduard (15 January 2015). "Notepad++ Site Hacked in Response to "Je suis Charlie" Edition". SecurityWeek. http://www.securityweek.com/notepad-site-hacked-response-%E2%80%9Cje-suis-charlie%E2%80%9D-edition. 
  35. Sengupta, Kim (7 February 2017). "Isis-linked hackers attack NHS websites to show gruesome Syrian civil war images". The Independent (London). https://www.independent.co.uk/news/uk/crime/isis-islamist-hackers-nhs-websites-cyber-attack-syrian-civil-war-images-islamic-state-a7567236.html. 
  36. Ho, Don. "News - Notepad++ v7.8.1 : Free Uyghur". https://notepad-plus-plus.org/news/v781-free-uyghur-edition/. 
  37. "Notepad++ on Twitter". Twitter. 29 October 2019. https://twitter.com/Notepad_plus/status/1189155537977532416. 
  38. Cimpanu, Catalin (30 October 2019). "Chinese users attack Notepad++ app after 'Free Uyghur' release". ZDNet. https://www.zdnet.com/article/chinese-users-attack-notepad-app-after-free-uyghur-release/. 
  39. "Notepad++ v7.8.9 : Stand with Hong Kong" (in en). 2020-07-16. https://notepad-plus-plus.org/news/v789-stand-with-hong-kong/. 
  40. "Text editor Notepad++ banned in China after 'Stand With Hong Kong' update" (in en-US). 17 August 2020. https://social.techcrunch.com/2020/08/17/notepad-plus-plus-blocked-in-china/. [yes|permanent dead link|dead link}}]
  41. "Notepad++ 8.3 - Boycott Beijing 2022" (in en-US). https://notepad-plus-plus.org/news/v83-boycott-beijing-2022/. 
  42. "Notepad++ 8.3 (Boycott Beijing 2022)" (in en-US). https://notepad-plus-plus.org/downloads/v8.3/. 
  43. "Notepad++ 8.3.1 - Boycott Beijing 2022" (in en-US). https://notepad-plus-plus.org/news/v831-boycott-beijing-2022/. 
  44. "Notepad++ 8.3.2 - Declare variables, not war" (in en-US). https://notepad-plus-plus.org/news/v832-declare-variables-not-war/. 
  45. "Notepad++ 8.3.2 (Declare variables, not war)" (in en-US). https://notepad-plus-plus.org/downloads/v8.3.2/. 
  46. "Notepad++ 8.3.3 - Make Apps, not war" (in en-US). https://notepad-plus-plus.org/news/v833-make-apps-not-war/. 
  47. "Notepad++ 8.3.3 (Make Apps, not war)" (in en-US). https://notepad-plus-plus.org/downloads/v8.3.3/. 

External links