Questions tagged [notepad++]

Notepad++ is a free and open source text editor for Windows. It is designed as a replacement for the built-in Notepad application.

Notepad++ is a text editor and source code editor for , and it is distributed as free software. It aims to be lightweight and robust, and supports syntax highlighting and code folding for over 50 programming, scripting, and markup languages. The user interface of notepad++ was translated into multiple languages, e.g. English, German, French, etc.

Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses the pure Win32 API and STL which ensures rapid execution speed and smaller program size.

-- Don Ho, author of Notepad++, from the project home page

Most notable features:

  • Unicode support
  • Tabbed document interface
  • Drag-and-drop
  • Syntax highlighting and Syntax folding
  • Auto-completion support for a subset of the API of some programming languages
  • Macro recording and playback
  • Multi-Language environment support
  • Bookmark

License:

It is released under GPL License.

Resources:

Latest LTS Version: v7.8.9 released on 2020-07-16

6570 questions
212
votes
11 answers

How do I use Notepad++ (or other) with msysgit?

How do I use Notepad++ (or any other editor besides vim) with msysgit? I tried all of the following to no avail: git config --global core.editor C:\Program Files\Notepad++\notepad++.exe git config --global core.editor "C:\Program…
PHLAK
  • 20,477
  • 18
  • 47
  • 52
211
votes
10 answers

Copy Notepad++ text with formatting?

I'm using Notepad++ to write code. How do I copy code in Notepad++ along with its formatting to paste into Microsoft Word? (i.e. syntax highlights, etc)
Josh
  • 12,636
  • 28
  • 109
  • 157
193
votes
14 answers

Formatting code in Notepad++

Is there a keyboard shortcut to format code in Notepad++ ? I'm mainly working with HTML, CSS and Python code. For example: {% block title %} {% endblock %}
darren
  • 17,033
  • 16
  • 55
  • 79
192
votes
16 answers

Auto-indent in Notepad++

We always write code like this formal: void main(){ if(){ if() } But when I use Notepad++, the display is: void main(){ if(){ if() } How do I use Notepad++ to auto indent? Thanks to Jonathan, I have set it, but it does not take any…
Turion
  • 9
  • 2
  • 3
  • 5
184
votes
3 answers

Choose newline character in Notepad++

I notice that when I load a text file, Notepad++ will recognize and use whatever the newline character in that file is, \n or \r\n. Is there some option where I can select which to use in a new document? (I've looked in help and googled, but can't…
Luigi Plinge
  • 48,746
  • 19
  • 105
  • 173
184
votes
3 answers

Can Vim highlight matching HTML tags like Notepad++?

Vim has support for matching pairs of curly brackets, parentheses, and square brackets. This is great for editing C-style languages like PHP and JavaScript. But what about matching HTML tags? Notepad++ has had this feature for as long as I’ve been…
linqq
  • 2,937
  • 2
  • 16
  • 17
184
votes
10 answers

How do I read a text file of about 2 GB?

I have a .txt file whose memory is more than 2 GB. The problem is I cannot open it with Notepad, Notepad++ or any other editor programs. Any solutions?
Abhishek Singh
  • 9,083
  • 17
  • 67
  • 97
176
votes
3 answers

What are the advantages of Sublime Text over Notepad++ and vice-versa?

Lots of friends have suggested me to start using Sublime Text instead of Notepad++, but I've been happy so far with Notepad++. I use Notepad++ mainly for quick editing files (Haskell, Python, C#, HTML, JS, CSS, etc.), copying & paste pieces of text…
Oscar Mederos
  • 26,873
  • 20
  • 76
  • 120
174
votes
9 answers

Replace new lines with a comma delimiter with Notepad++?

I have a Notepad++ question. How can I take the below words in Notepad++ (which is on different lines) Apples Apricots Pear Avocados Bananas And turn them into a paragraph with a comma at the end of each one? Like this: Apples, Apricots, Pear,…
user2231530
  • 1,743
  • 2
  • 11
  • 4
164
votes
7 answers

File tree view in Notepad++

I was wondering how to make a file tree view in Notepad++, like other editors have, where I could open a file by clicking on it?
bah
  • 2,233
  • 4
  • 23
  • 26
164
votes
8 answers

How do I remove all non-ASCII characters with regex and Notepad++?

I searched a lot, but nowhere is it written how to remove non-ASCII characters from Notepad++. I need to know what command to write in find and replace (with picture it would be great). If I want to make a white-list and bookmark all the ASCII…
Texh
  • 1,693
  • 2
  • 10
  • 8
162
votes
3 answers

Notepad++ cached files location

On the most recent versions of Notepad++, when the application is closed, unsaved files are maintained when the application is restarted. I presume that those files are cached on a temporary files. What is the location of that file(s). Thank you
RedEagle
  • 4,008
  • 9
  • 38
  • 62
138
votes
21 answers

How to Execute a Python Script in Notepad++?

I prefer using Notepad++ for developing, How do I execute the files in Python through Notepad++?
richtea
134
votes
5 answers

Notepad++: How to automatically set Language as Xml when load files

Whenever I edit a .config file in Notepad++ (which is an XML file) I want the syntax highlighting to automatically color it like XML. How do I configure Notepad++ to do this so that I don't have to manually select it every time I open a .config…
devlord
  • 3,627
  • 4
  • 32
  • 47
134
votes
5 answers

How to compare two files in Notepad++ v6.6.8

I want to compare values from two different files. In Notepad++ version 5.0.3 we had shortcut button Alt+d but in version 6.6.8 I cannot find any option to compare. Also let me know which version is most stable.
Aryan
  • 1,461
  • 2
  • 8
  • 4