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

1
vote
6answers
10k 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 ...
127
votes
2answers
45k 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 ...
23
votes
3answers
8k 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 ...
16
votes
3answers
18k 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: ...
27
votes
3answers
12k 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
6answers
18k 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 ...
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 ...
3
votes
1answer
557 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 ...
0
votes
3answers
440 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 ...
123
votes
5answers
41k 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?
47
votes
1answer
61k 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
4answers
35k 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 ...
36
votes
3answers
25k 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 ...
10
votes
2answers
3k 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) ...
5
votes
2answers
11k 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 ...
3
votes
2answers
4k 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 ...
9
votes
1answer
2k 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 ...
5
votes
1answer
5k 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 ...
4
votes
1answer
1k 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 ...
0
votes
8answers
16k 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 ...
11
votes
2answers
6k 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 ...
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 ...
1
vote
1answer
73 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.
1
vote
1answer
179 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 ...
1
vote
1answer
245 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
0answers
401 views

Notepad++ Close the Find-Replace Dialog

This has been annoying me for weeks now.. I use Notepad++ on a daily basis and I love it, but this behavior changed in an update at some point within the last year or so, and it's buggin. I'm a ...
0
votes
2answers
232 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 ...
140
votes
5answers
86k views

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

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
62
votes
1answer
22k 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?
52
votes
9answers
92k 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 ...
20
votes
3answers
19k views

How to migrate Notepad++ settings?

I am trying to portabilize every program I use if possible, and Notepad++ is on the list. The only problem is that I've had a native installation until now so that I'm not totally sure which settings ...
36
votes
3answers
25k 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.
35
votes
6answers
21k 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 ...
22
votes
7answers
18k 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 ...
15
votes
6answers
8k 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
5answers
28k 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 ...
12
votes
3answers
15k 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 ...
23
votes
1answer
14k views

Notepad++ Find in Files Filters

When using Notepad++ Find in Files feature is there a way to adjust the filter, so that it will search more than one filetype (e.g. *.c and *.h)?
8
votes
3answers
31k views

Replace Carriage Return and Line Feed in Notepad++

I have a file with a mix of CRLF and LF, and wish to remove the LF. I am new to Notepad++ and just downloaded V6.23. I'm using the search/replace dialogue box in extended mode. It will find and ...
12
votes
4answers
2k views

prevent Notepad++ from resizing when a new document is opened

I run notepad++ snapped to the side of my screen (using the Windows 7 Snap feature), however whenever I open a new document in Notepad++ by double clicking on the document from the desktop (as opposed ...
12
votes
4answers
9k views

How to make Notepad++ open each file in new window?

There is -multiInst launch parameter that lets you open more than one instance of Notepad++, but how to make it launch a new window every time when I click on "Edit with Notepad++" or "Open With..." ...
3
votes
1answer
554 views

Plugin for Notepad++ 5.8.6 to list bookmarks of current file

Is there a plug-in for Notepad++ 5.8.6 (the last version before the huge ugly Find dialog!) to list all bookmarks set for current tab in a dockable window? The user should be able to jump to any ...
20
votes
3answers
24k views

How do I set Notepad++ as the default editor?

I want set Notepad++ as the default editor. I tried to set it by right-clicking on a file, then Open With. But I did not see Notepad++ in the resulting list (even after clicking on Choose Other ...
11
votes
3answers
3k views

How do I associate all unknown file types with notepad++?

I work alot with billing and files the bank etc. send me files that have date extensions or some counter as an extension: eg file1.20110315 or file2.123 So the extension changes every time I receive ...
11
votes
2answers
4k views

Converting text to Title case in Notepad++

Is there a way to convert a block of text to title case in Notepad++? It should turn asdf ASDF aSdF into Asdf Asdf Asdf I see upper case and lower case on the edit menu, but those aren't ...
9
votes
2answers
3k views

How can I indent the wrapped text in Notepad++?

How can I change Notepad++ setting so that wrapped lines gets indented automatically? Right now I have something like this: some text that wraps to next line some indented text that also wraps ...
9
votes
3answers
4k views

Different language syntax highlighting within same file

I'm trying to get simple syntax highlighting working within a file. Here's the setup. I have an index.php file, which Notepad++ correctly highlights any PHP code between the <? and ?> tags. ...
7
votes
3answers
8k views

Selecting range of lines in Notepad ++

How do I select specific range of lines in Notepad++ quickly? I have a text file that has over 1M of lines and I need to delete some fragments from it, but selecting lines manually just takes too much ...
6
votes
1answer
3k views

Creating special commands for Notepad++ using NppExec

Notepad++ has a convenient timestamp facility built-in with the choice of short or long formats, but both use the built-in date format of the computer they're on, showing either the month first (if ...
6
votes
3answers
5k views

Use Notepad++ to change under_score_case to CamelCase?

I can write a regular expression in NP++ to find under_score_case. I can use TextFX in NP++ to change case to upper and lower case by highlighting and selecting. How can I use either NP++'s ...