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
1answer
24 views

Choose whether to save when quit

I am using notepad++ V6.4.2. When I close a file, it seems to save defaultly without asking me. How can I configure to get the save/not_save option back?
0
votes
2answers
203 views

How to use Notepad++ for re-formatting indentations?

I've got a plugin that lets me paste in an unformatted XML and set up its tagged structure. However, I'd need to have one for e.g. C#. Haven't found such, though. Where can I find retagging plugin ...
0
votes
0answers
16 views

How to automatically set each new file in utf-8 without BOM?

win xp sp3 notepad++ v 6.6.7 Settings - Preferences - New Document UTF-8 without BOM - is chosen Apply to opened ANSI files - is checked Still when I create a new file and check in Encode - ...
0
votes
0answers
21 views

Notepad++ - Function feature background color

After typing a function name and open brace, Notepad++ will show the function feature dialog. This feature's useful but I don't like the background color, can you suggest any way to change it?
0
votes
0answers
7 views

Create a shortcut for Notepad++ to reopen a closed tab?

To reopen a closed tab in Notepad++ you press ALT+F&1. I was wondering if there was a way to make a macro or program to do this so that I can press link it to the shortcut CTRL+SHIFT+T instead, ...
0
votes
1answer
150 views

Error code 2 when compiling a cpp file in notepad++

I'm using this code cd "$(CURRENT_DIRECTORY)" g++ $(FILE_NAME) -o $(FILE_NAME).exe to run a cpp from notepad. What I had expected to run was g++ FILE_NAME.cpp -o FILE_NAME.exe But g++ ...
1
vote
1answer
17 views

How to batch print files in Notepad++?

I want to print a set of files in one go in Notepad++. I tried searching on Google, but with no avail. Is there a plugin or built-in feature (anything) that would allow me to batch print files from ...
0
votes
1answer
18 views

ahk SetTitleMatchMode stopped working

Problems I had AHK set up on my computer, a few files (programmen.ahk and grammatik.ahk for example) in the same folder /ahk-script I might have installed some program, because the script does not ...
-1
votes
0answers
18 views

Editing Feature for Notepad++

i'm using notepad++ for editing php code and i was wondering: when editing a php class and my cursor is placed over a function like $this->show_result(); - is there a function/shortkey for jumping ...
0
votes
2answers
30 views

How to search the text for several lines and find in order using regular expression

Trying to figure out the regular expression to be used in Notepad++ where I can search the text below (as an example) and find the results in order. Sample Text: { USERECOVERDB 1 } protocol ...
0
votes
1answer
16 views

Stop Session Restore in Notepad++ v6.6.7

I like notepad++ plus but hate that by default it always remembers my last session. How can I disable it I thought it was in the misc setting but maybe I am blind but I don't see it there
1
vote
2answers
138 views

Sort text by value in Notepad++

I have lists of files that contain a few columns of data. It is not sorted the way I want from the output, so I'm manually hunting for where a line should be. Is there a way in Notepad++ to sort the ...
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 ...
0
votes
0answers
114 views

How do I enable the Cloud settings in Notepad++ 6.6.7 for Windows 8.1 Update 1?

I updated to Notepad++ 6.6.7 and wanted to move the settings to my OneDrive. But when I open Settings->Preferences->Cloud, the DropBox and OneDrive options are both disabled. How do I enable them? ...
6
votes
6answers
4k views

Notepad++ doesn't launch (notepad++.exe present in the task manager)

Yesterday Notepad++ was runnable, but today it doesn't. In spite of the notepad++.exe (with its 13 process) presence is the tasks manager, Notepad++ window doesn't launch. I tried to uninstall and ...
7
votes
2answers
6k views

Open with Notepad++ as Administrator Context Menu

I'd like to add an "Open with Notepad++ as Administrator" context menu for all files to Windows 7. I've tried the solutions listed here: ...
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)?
2
votes
4answers
5k views

How to restore a previous version of file in Notepad++

I would like to restore a previous version of file that has been saved. My computer has crushed during work on one of the Files in Notepad++. When I started it again it went blank and few days of my ...
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 ...
0
votes
1answer
21 views

Notepad++ - How can I search (per line) until a certain character (in said line)?

I have several lines which look like \node[ ... Some code here ... { ... some more code \node[ ... Some code here ... { ... some more code \node[ ... Some code here ... { ... some more code In each ...
0
votes
3answers
555 views

Change Config Direction of Notepad++

I want to know where I can change the location where Notepad++ saves the config files (which is by default the appdata folder, if not checked that it should not use this folder) The reason why I want ...
0
votes
0answers
30 views

Notepad++ Open containing folder and SELECT FILE

What should I add to the following command (in shortcuts.xml) so that Notepad++ would open the containing folder and also select the current file? <Command name="Open containing folder" Ctrl="no" ...
0
votes
1answer
30 views

Notepad++ associated file style

I am working on Notepad++ for programming. I associated C and C++ extensions. But when I double click the file, Notepad opens file, but no style. When I open file in Notepad++, it has got style. How ...
0
votes
1answer
34 views

Notepad++: How to remove a section of text with regex

I have a file that has lines like: string1,string2,string3 I would like it to just be string2 How would I use regular expression to do this?
7
votes
1answer
2k views

How to get a bookmarks list?

The bookmarks options in Notepad++(I'm using version 6.0) are okay, but their usefulness is limited by the fact that there is no way (that I can find) of getting a list of the existing bookmarks, so ...
3
votes
1answer
2k views

How do I open 2 instances of the same file in notepad++ side by side with their own scrollbars in a single Notepad++ window?

I remember doing this a long time ago and have forgotten how I had done it. I like to do this when I have long html or php files to edit and I need part of the code from further down the file in a ...
4
votes
4answers
3k views

Notepad++ not opening from certain locations

For quite some time now, I experience a weird behavior of Notepad++. I associated .xml files to Notepad++. For most of the time opening .xml files works fine. Sometimes though, the file won't open if ...
1
vote
2answers
4k views

Quickly increment selected numbers in Notepad++

I'm working on a plain text configuration file that has a configuration key format of <type name>_<#>_<Subcomponent name>=<value> To be a little more clear, the ...
23
votes
3answers
16k views

How to use markdown in notepad++

I am used to writing text in markdown, and I love notepad++ for its light weight behavior. I am looking for a hint as how can I write markdown text in notepad++, which simulates using a markdown ...
0
votes
1answer
17 views

Where are Notepad++ configuration files?

win xp sp3 and Notepad++ 6.6.7 I'm trying to find configuration files, so: C:\Documents and Settings\[User]\Application Data\Notepad++/stylers.xml I opened this file and change some settings, for ...
-1
votes
3answers
31 views

How to disable spell-checking in Notepad++? [duplicate]

Recent Notepad++ started to come with spell checking which puts "red lines that appear under misspelled words" (ms office help terminology) mainly in txt files. I'd like to disable it everywhere. ...
2
votes
1answer
58 views

Change description of file types associated with Notepad++

I recently installed Notepad++ v6.6.6 (On Windows 8 x64) and associated file types. The installer changed file type description of every associated extension to Notepad++ Document. For example, I ...
1
vote
0answers
41 views

Where does NotePad++ think it is saving to?

I can drag & drop a file into Windows' NotePad and see its contents. I can then drag & drop the same file into NotePad++ and see completely different contents. Initially, no data - but I ...
0
votes
2answers
16 views

Notepad++ EOL conversion difficulties from UNIX to windows. How to ensure it stays converted?

I have a .txt file which is in a UNIX/OSX format when it should be in windows. I have tried to convert it in Notepad++ through Edit>EOL Conversion>Windows format. However when I convert it in ...
0
votes
1answer
13 views

Erasing a letter and typing, erases characters before

I just downloaded Notepad++ and using to program in C. But, when I trying to erase something in the middle of characters, and start type from there, They replaces with the characters I've entered ...
0
votes
1answer
7 views

Anyone know how to set Notepad++ as default text editor for SAS, Stata and R?

Anyone know how to set Notepad++ as default text editor for SAS, Stata and R? I'm having the hardest time finding anything online (particularly for SAS). Looking for ability to run code from ...
2
votes
2answers
4k views

How can I change the standard “save as” filetype of Notepad++?

In which weird file format, unreadable to other applications, does Notepad++ save its files and how I can change it? I searched through all the settings/options, but didn't find anything. How can I ...
6
votes
3answers
2k views

How can I make Notepad++ use “.txt” files as the default open file dialog filter?

When I go to open files in NPP, the file types defaults to "all types (.)". How can I make this default to ".txt"? It may be a windows thing, since I'm sure it just uses the default windows file ...
0
votes
2answers
31 views

Notepad++ : how to reattach the “find result” box?

I accidentally detached the search result box and it's now an independant window. How do I fix that?
1
vote
3answers
2k views

Extract/delete all other text than whats inside “ ”, and after string

I'm have a very big data output in a .txt file that looks like this: value1="1",value2="2",value3="test3",value4="4" value1="1",value2="2",value3="anothertest3",value4="4" ...
0
votes
0answers
17 views

Viewing Column Numbers

How can I view the column numbers in Notepad++ the same way that I can view line numbers? For additional context, I am working with a fixed width file format.
2
votes
1answer
49 views

Is there a way to make Notepad++ auto-complete words on {TAB} instead of {ENTER}?

Is there a way to make Notepad++ auto-complete words on Tab instead of Enter? Currently, if want to type, say, frame, then Enter to begin a new line, instead the Enter will select the first ...
0
votes
1answer
25 views

ConEmu: Run command in open Tab?

I'm using ConEmu (which is already open for the task in this question) with running ipython. Now I want to run a command from a second programm (namely notepad++) to make my edited python script run ...
2
votes
1answer
50 views

Notepad++ blockwise code fold/unfold (recursive)

Is there a way to fold/unfold a selected block of code in notepad++? I am aware of the shortcuts alt0 and altshift0 (Fold/unfold all), but this is not what I am looking for. I usually start by ...
126
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 ...
0
votes
1answer
9 views

Notepad++: Insert comment-sections of same length via Macro/Shortcut?

I'm often using comments (using =====) to divide sections within my files in the same way which look always the same, e.g.: #===========================================# #============== IMPORT STUFF ...
1
vote
1answer
14 views

How can you change the zoom shortcut keys in Notepad++?

The shortcuts for zooming in and out in Notepad++ require using a mousewheel or a number pad, neither of which can be found on most laptops (like mine). You can change the shortcut keys by the menu ...
0
votes
2answers
303 views

Notepad++ new file names

Is there a way to have Notepad++ generate new file names with the current date? Like this: YYYY_MM_DD_new1.txt or similar. Currently it just names them: new1, new2, etc. Date in the file name will ...
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 ...