Questions tagged [notepad++]

Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.

Quoting from the Notepad++ home page:

Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL.

Notepad++ is licensed under the GNU General Public License.

Notepad++ on Wikipedia

2842 questions
383
votes
9 answers

How can I view two files side by side in Notepad++?

I would like to split the Notepad++ window so that I can edit two files side by side. How can I do this in Notepad++?
Jonas
  • 26,874
  • 52
  • 105
  • 125
311
votes
3 answers

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting where I can define this?
Sathyajith Bhat
  • 61,504
  • 38
  • 179
  • 264
288
votes
1 answer

Sorting lines in Notepad++ without the TextFX plugin

The current version of Notepad++ (at the time of this writing) is 6.6.3. Version 6.5.2 is the first that introduced a native (without a plugin) sorting function. At least, that's what they claim; even though we're nine releases after version 6.5.2,…
trejder
  • 10,821
  • 18
  • 59
  • 117
279
votes
6 answers

How to automatically reload modified files in Notepad++

How can automatically reload modified files in Notepad++? The confirmation step is annoying, and is completely unnecessary in some situations.
mjsr
  • 6,438
  • 4
  • 29
  • 37
273
votes
11 answers

Delete all lines in Notepad++ except lines containing a word I need?

I have a text file and want to keep lines started with , and delete all the other lines. How can I do it?
alon
251
votes
10 answers

How to use Markdown in Notepad++

I love writing in Markdown and would like to be able to write and preview Markdown content in Notepad++. Are there any WYSIWYG Markdown plugins for Notepad++?
srk
  • 2,711
  • 3
  • 15
  • 11
241
votes
5 answers

Notepad++ find and replace string with a new-line

Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence). abc123 xyz456-blah fsafd23 xyz456-green 89hjkf23…
p.campbell
  • 4,338
  • 9
  • 38
  • 45
228
votes
6 answers

How can one turn off spell checking in Notepad++?

Notepad++ recently added built-in support for spell checking, and it is enabled by default. Where can I turn it off?
Tarnay Kálmán
  • 3,597
  • 5
  • 27
  • 32
192
votes
2 answers

How do I disable links in Notepad++?

Since a few months ago, Notepad++ automatically makes clickable links whenever I type a URL. This behaviour makes it much more difficult to edit HTML documents because instead of clicking in the middle of a text URL to change it, it now opens the…
superuser
  • 3,428
  • 7
  • 25
  • 40
173
votes
1 answer

How do I get Notepad++ to associate a file type with a language?

I have associated .wxs files with Notepad++. So far so good. However, it doesn't remember that it should use XML syntax highlighting. How do I associate a file-type with a Language?
fredley
  • 3,417
  • 10
  • 32
  • 43
168
votes
6 answers

Notepad++ is unable to load langs.xml, why?

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- That obviously means that there is also no syntax…
clamp
  • 1,242
  • 8
  • 27
  • 41
160
votes
9 answers

How can the font size be changed in Notepad++?

How can the font size be changed in Notepad++? I just downloaded and installed Notepad++ v5.4.5 (I have been using UltraEdit for the last 11.5 years) and can not find a menu command for changing the screen font. I want to change it to Lucida Console…
Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
153
votes
3 answers

How do I remove linebreaks in Notepad++?

Is there a simple way of removing linebreaks in Notepad++? For example: This text has been splitted in lines, and it's longer than 3200 words, so it would be great to find and replace line breaks like these.
Gabriel
  • 2,860
  • 11
  • 36
  • 51
131
votes
2 answers

How to turn off Reload alerts?

In NotePad++, I generally run with a few files open. These are log files that are continually updating. I get annoyed when NotePad++ resumes focus and I get a stack of Reload popups informing me that some of my open files have been updated 'by…
akf
  • 3,971
  • 4
  • 23
  • 15
131
votes
7 answers

Flip or reverse line order in Notepad++

I want to flip line orders of a document with 500+ lines. The lines aren't just numbers, some include text and other characters. It's a mix. Example: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Which I then want to flip, reverse and look like this…
Danpe
  • 1,451
  • 2
  • 12
  • 12
1
2 3
99 100