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.

learn more… | top users | synonyms

9
votes
2answers
8k views

Export all regular expression matches in Textpad or Notepad++ as a list

In Textpad or Notepad++ is there an option to export all the matches for a regular expression find, as a single list? In a big text file, I am searching for tags (words enclosed in % %), using ...
2
votes
7answers
15k views

Find and Replace several several different values all at once

I have a file with multiple instances of Text_1 and Text1 and I need to replace both those strings with Text_A and TextB respectively. Currently I'm doing two Find and Replace functions on each ...
166
votes
2answers
57k views

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 ...
17
votes
3answers
28k views

How would I delete the first 27 characters from every line Notepad++?

I have a log file and I need to remove the first 27 characters off every line. You would have a line like this: 2011-09-25 01:25:29 [INFO] <Exazoro> wazup But it needs to be like this: ...
1
vote
3answers
1k views

Close the Find/Replace dialog in Notepad++ with a keyboard shortcut?

When I do a find (not a find all, which closes the dialog) or replace in Notepad++, the focus will remain on the find/replace dialog. If I want to focus on the main window with the text in it, I ...
33
votes
3answers
12k views

Closing Notepad++ tabs on closing application

Is it possible to make Notepad++ close all open tabs when it is shut down? Currently when a new file is opened with Notepad++ all previously open tabs (and of course the files open in those tabs) are ...
11
votes
6answers
19k views

What is the way to use FTP and Notepad++ (without using its build-in FTP or a FTP client like FileZilla)?

I use Notepad++ for more than 2 years now, and there's only 1 thing that it needs for me to be perfect: a actually-working-ftp-plugin. It has an FTP plugin, written by someone that meanwhile left the ...
32
votes
3answers
17k views

Vertical line for the the right margin in Notepad++

Does anyone know if Notepad++ can display a vertical line on the right margin to indicated that the text will or will not fit on a printed page? I have looked but I cannot find it. Word wrap does ...
10
votes
0answers
4k views

Reverse line order in Notepad++ [duplicate]

Is there a way to reverse the line order (considering \r\n line break) of a file using Notepad++? Input: Line 1 Line 2 Line 3 Required Output: Line 3 Line 2 Line 1 Any ...
5
votes
1answer
6k views

How do I edit or add to Notepad++ HTML/CSS autocomplete?

Could anyone tell me how to go about editing the existing CSS and/or HTML autocomplete language in Notepad++? My Google-fu has let me down and I can't find an answer. In essence, I want to add some ...
8
votes
5answers
10k views

Notepad++ keyboard shortcut to toggle “Find Result” window [duplicate]

Is there a keyboard shortcut to toggle "Find Result" windows? Or can this be configured in the Shortcut Mapper? I seem cannot find the setting.
3
votes
1answer
714 views

Remove/Delete current line in Notepad++

Specifically I want to make a context menu option that (on rightclick) removes/deletes the current line. The catch is the line should be deleted even if it´s not selected. Meaning I don't have to use ...
159
votes
6answers
64k views

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?
77
votes
1answer
35k views

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

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?
50
votes
1answer
71k views

HTML Tag Auto Complete in Notepad++?

I would like for Notepad++ to add the closing tag when I finish typing the open tag. I know there is a plugin to do this for XML but it doesn't work on my HTML files and I have yet to find one that ...
33
votes
7answers
25k views

How do I make Notepad++ delete lines like Eclipse does?

Eclipse has a keyboard shortcut which deletes either the current line (if nothing is selected) or all lines which are part of the currently selected text: Ctrl+D. Is there a way to make Ctrl+D do the ...
38
votes
4answers
43k views

How to set the default language in Notepad++

I mostly use Notepad++ for dealing with XML files. It would be good if Notepad++ parsed and colorized my files based on the XML language when I open the files. Instead, I have to open the file, pick ...
14
votes
5answers
41k views

Unicode characters suddenly start displaying as boxes in some applications [duplicate]

I noticed that Unicode characters suddenly stopped displaying in some applications, so far Notepad++ and Skype, when they were appearing previously. Instead they appear as boxes. They were working ...
14
votes
2answers
4k views

Can Notepad++ mark scrollbar with visual indicators of search results?

Can Notepad++ highlight search results in its scrollbar area, whereby the scrollbar represents the height of the entire document being viewed and is visually marked (colour-coded, ticked or otherwise) ...
50
votes
3answers
34k views

shortcut to manually Reload file from Disk

Now that I can turn off the annoying Reload popups, I would like a quick way to manually reload the file I am working on in NotePad++ via the keyboard. Looking at the File menu, Reload from Disk does ...
31
votes
1answer
25k views

Sorting lines in Notepad++ without TextFx plugin

Current version of Notepad++ is 6.6.3. Version 6.5.2 is the first, that introduced native (without plugin) sorting function to Notepad++. At least that's what they claim. Because, even though we're ...
16
votes
3answers
5k views

Does Notepad++ have a minimap feature?

I'm not really sure what to call the "minimap" feature of a text editor. For example, Sublime Text has what I would call a Minimap feature. A skinny map on the left side where you can click to get ...
5
votes
2answers
16k views

How can I delete rest of the line after a specific string?

I'm looking for a way to search for a specific string e.g. '=UUID:' and delete it and all following characters per line. I would prefer a way/macro/addon for notepad++. But all other tools or scripts ...
16
votes
2answers
10k views

How to not show the last file when starting up Notepad++? [duplicate]

Possible Duplicate: Closing Notepad++ tabs on closing application It's very annoying that every time Notepad++ starts, it displays the last modified file. Is there a setting to turn this ...
11
votes
1answer
3k views

How to disable the “highlight changes” feature?

Our admins deployed a new version of Notepad++ (version 6.3) on our machines, and this version is highlighting all changes done in a file by default. It does so by setting the background color of ...
11
votes
1answer
3k views

The Notepad++ tab bar keeps hiding

Is there a way to always force the tab bar to show? I go to Settings → Preferences → General → Tab Bar and uncheck hide, but the next time I open Notepad++, the tab bar is gone, even ...
9
votes
1answer
3k views

Open two instances of Notepad++

I have a question about notepad++ I want to run notepad++ twice. Like in this paint printscreen How I want it: Not what I want: Is this possible?
7
votes
2answers
10k views

Transpose column to row

How do I convert code from a column: 1 2 3 4 to in a row (with spaces): 1 2 3 4 using Notepad++ ?
1
vote
2answers
495 views

Automatically use specific language in Notepad++ for files with no extension

Specifically, I want NPP to remember to use Ruby syntax highlighting whenever I open a Vagrantfile. These don't have an extension, and I tried adding "Vagrantfile" to the user extensions in the style ...
1
vote
8answers
20k views

How to insert time and date, and the directory path in Notepad++?

I just downloaded Notepad++ v 5.3.1 and I'm having two problems with the TextFX plugin: I recorded a macro with "TextFX Insert" > Date & Time (no matter whether short or long format) and, after ...
8
votes
1answer
1k views

Is it possible Notepad++ to change the theme based on current filetype

For example, if I open a text file, notepad++ would open it in 'default' theme. But if I open a php file for instance, it would open it in 'custom_theme1'. I know notepad++ is highly extensible, so I ...
6
votes
3answers
8k views

Notepad++ - Highlight text and insert html <tag></tag> around it

Is there a way to have this feature in Notepad++: select some text insert an html <tag>``</tag> around it (ie. <strong>, <em> etc)
6
votes
3answers
3k views

Show/Hide function folding margin on Notepad++

Is it possible to get rid of the function folding margin on Notepad++? It seems like the sort of thing that should be in the prefs but I'm not seeing it anywhere.
5
votes
1answer
700 views

Why is notepad++ writing to my new document?

I updated notepad++ and it started writing to the screen. I quickly closed it not knowing what it was, but now I'm curious do I have a 'hacked' copy of notepad++?
4
votes
1answer
456 views

Notepad++: Save code folding status or open collapsed

I have found similar questions as http://stackoverflow.com/questions/9157518/how-to-save-collapse-status-in-notepad and Is there a way to save the code folding in Notepad++?. And ...
3
votes
1answer
534 views

Notepad++ clone view - more than 2

Is it possible to have more than 2 (3 or 4) clone view of a file in the same notepad++ instance? If yes - how? Any plugin for this purpose? Thank you.
3
votes
1answer
273 views

Make style changes in notepad++ permanent

When I select a theme and make changes to the font name and font size, they always default back to original settings whenever I reopen notepad++. Is there a way of making font name and size changes to ...
2
votes
1answer
515 views

Create a hotkey /keyboard shortcut to close the Notepad++ Find Results window

I have always wished that Notepad++ had a keyboard shortcut for closing the Find Results pane / window that appears when I do one of the following: Find All in All Opened Documents Find All in ...
2
votes
1answer
556 views

Possibilities of splitting Notepad++ into more than 2 windows

I would like to open 4 Notepad++ windows at once, in the same pannel. Currently, I am only able to split it into two, and would like to know if there is a plugin that enables 4 views at at same time, ...
1
vote
1answer
81 views

Can I filter and sort email ids in notepad++ and other text editors?

I have a txt file which has around 20000 email id. I want to know email count from gmail, yahoo, ymail, googlemail, aol, live,custom domain, gmx, and other temporary emails separately. And also i need ...
0
votes
2answers
238 views

How to replace '|' in Notepad++

I have too many records which ending as below : en-US||||| But i wanted them to be replace to new line let say en-US newline Note text en and US are different in each records, the ...
-1
votes
3answers
77 views

Replace a character in middle of characters using regular expression in notepad ++

These are the variable names in a C code its been used in like 100 files i need to replace it by small cases as shown below in a folder having like 100 files any one please help me out how to do it ...
146
votes
5answers
91k views

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

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
40
votes
4answers
15k views

Switching to tabs to the right or left of the current tab in Notepad++

How can I switch to the document to the left or right of the current document in Notepad++? For example, if I have documents A, B, and C open, and I'm currently editing B, I would like a shortcut to ...
41
votes
2answers
69k views

How to remove linebreaks in Notepad++?

For example, this: 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.
75
votes
3answers
39k views

How can I set autoreload modified files in notepad++

How can I set autoreload modified files in notepad++? The confirmation step is annoying, and in some situations completely unnecesary.
67
votes
10answers
122k views

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 ...
21
votes
6answers
14k views

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 ...
13
votes
4answers
18k views

How can a paragraph be reformatted in Notepad++?

How can I reformat a paragraph in Notepad++? In UltraEdit I can select one or more long lines and reformat the paragraph to the set right margin (e.g. 60 or 80) by menu command Format/Reformat ...
40
votes
5answers
24k views

How to save font settings in Notepad++

I like the vim Dark Blue style in Notepad++, but I want to use it with Lucida instead of Consolas. When I change the font to Lucida, it is never saved. Is there a way to save a custom style that ...