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

2
votes
1answer
237 views

Do not show entries starting with . in Notepad++ FTP plugin (NppFTP)

I am using Notepad++ FTP plugin (NppFtp) to remotely edit the files. However, it displays hidden files and directories too (those starting with .). I have tried to change this behavior by going to ...
1
vote
2answers
214 views

Powershell Script Open Files Across Computer and Local

I don't like Microsoft's built in Notepad at all. I prefer to use notepad++, but since it's not built in it's not easy to use from a command line. I am writing a powershell script that can help out, ...
0
votes
1answer
181 views

when i open new file it insert code in notepad++

First i want to tell you that i now i only use notepad++ for assembly language. and i have made assembly my default language by reading this here so when i open new file it highlight as assembly now ...
0
votes
1answer
595 views

What is the shortcut to select everything between curly braces in Notepad++?

Is there any shortcut in Notepad++ to select all (highlight) codes between the curly braces (start & end)? E.g. Code between if-else, nethod definition, while, for loop etc.
1
vote
2answers
1k views

Can I change icon in this case?

I have associated txt file and xml file with Notepad++ (both opened with it), so both of them have the same icon with Notepad++. Is there any way to change the txt icon to a different icon than the ...
0
votes
0answers
205 views

Auto Highlight Selected word Feature in textpad

I am looking for a feature in Textpad, which will highlight all the occurrences of selected word. This is really an interesting feature in most of the cases. I am unable to found this in textpad. But ...
2
votes
2answers
566 views

Notepad++ scrolls beyond the EOF

I updated my Notepad++ to 6.4.3 this morning. Ever since that, I've noticed a very strange behavior in it. It scrolls beyond the EOF (i.e) I'm able to scroll the document in notepad++ even beyond the ...
0
votes
2answers
207 views

Notepad++ - customised syntax highlighting

Is it possible to customise Notepad++ to perform begin and end matching when displaying the programming language Verilog? I would like it to highlight the corresponding begin / end when my text ...
0
votes
0answers
52 views

Continuously scramble a word in Notepad++

I would like to scramble two names for 1000 repetitions on lines one to a 1000 For example 'Milesdavis Milesdavis' would be the first name with every line afterwords or below to be scrambled; ...
3
votes
2answers
2k views

how to use codefolding feature of notepad++ for normal text documents

When i open an reg file in notepad++ file in notepad++ , I see the amazing functionality to minimize and maximize the subkeys of a base key by clicking on that little arrow on the left .can I get this ...
0
votes
1answer
6k views

Delete Text before and after a specific character in Notepad++

i want to extract a string which is between two quotation marks, deleting everything before and after the quotation marks, including themselves. For example this: 6 6 "The Socratic Method" ...
1
vote
1answer
227 views

.class specific search and replace

I'm trying to remove entire tag with specific class: Code: <div> Blah blah <div class='myClass'> <div>some other div</div> </div> </div> <div> Blah ...
0
votes
2answers
188 views

Regex replace with Notepad++

In my XML file there are lots of sub strings starting with STDSUP- and then three digits. For example: STDSUP-123. I would like to replace the STDSUP with CCDA. There are some sub strings where ...
2
votes
2answers
141 views

Find lines with only 7 letters or numbers

I'm using Notepad++,and I have a document with 88,000 lines. I need the lines with only 7 letters or numbers. How can I do this?
1
vote
1answer
85 views

Collapse indented bulleted lists in Notepad++

I often make bulleted lists like this: - Heading 1 - A point - Another point - Heading 2 - Subheading - some more stuff I'd like to be able to collapse everything under a heading. Is this ...
0
votes
1answer
626 views

Editing all instances of a string in Notepad++

I have several instances of a variable or a phrase, and I want to rename it. How do I edit all of them at the same time in Notepad++?
8
votes
3answers
14k views

Remove empty lines and spaces in Notepad++?

Suppose I have these lines: A B C D E I want remove empty lines, and the spaces before the letter too, like this: A B C D E How can I achieve this in Notepad++?
1
vote
1answer
62 views

Export a specific line in Notepad++

I have a large XHTML file that contains a lot of code, see the below example: <a:CreationDate>0</a:CreationDate> <a:Creator/> <a:ModificationDate>0</a:ModificationDate> ...
1
vote
1answer
76 views

Convert command-line commands from one tool to another in notepad++

I have a script with lots of lines like this: ss Get $/%SS_SOURCE_PROJECT%/DLL/Vim25Service2005.dll -I-Y -R -VL%2 ss Get $/%SS_SOURCE_PROJECT%/97AUTO/*.* -I-Y -R -VL%2 We're migrating from one tool ...
0
votes
2answers
302 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 ...
0
votes
1answer
115 views

Notepad++ - Continue Search from top

In general when we do a Find in Notepad++, it starts from the current cursor position and continues till the end of the document. Due to this, to search a complete document, we have to go to the ...
0
votes
1answer
1k views

How to change the text cursor color in Notepad++

If i apply a dark theme in Notepad++ the cursor stays black and therefore the cursor disappears when it shows as textmarker into the background. Is there an options for changing that? In ...
2
votes
1answer
1k views

Is there a way to make notepad++ application itself dark?

I like the look of Sublime Text 2 but I prefer using Notepad++ as my default text editor. Is there a way to make the notepad++ application itself dark? More specifically, I would like to change the ...
4
votes
3answers
2k views

Why is the system32\drivers\etc folder not displayed in Notepad++ when opened as Administrator in Windows 7

I am logged in as a user who has Adminstrative privileges on my standalone (not part of a domain) PC, which is running Windows 7 x64 Ultimate, and I've opened Notepad++ "as administrator", yet I ...
-3
votes
1answer
84 views

Suppress Save Dialogs in Notepad++

Every time I close Notepad++ it asks to save files. I remember a version that did not do this, it just closed and when reopened the unsaved documents were still there. Is there a way to go back to ...
0
votes
5answers
3k views

replace given char with ascii nul in notepad++

Tried extended search --> replace with \0 but does not seem to work. Instead it deletes all occurrences of the char. Could it be a bug ? NB : replacing with \n, \r\n and the like works in extended ...
0
votes
2answers
3k views

How to remove the 1 last character on every line in Notepad++?

In Notepad++, how do I turn this: aliraft into this: aliraf
0
votes
2answers
175 views

Replace timestamps by increasing number

Hello again Superuser! I have ~40 .txt files with rows like this: 11:20 : Go to lunch 13:40 : Go to parkinglot 14:40 : Wait for flight to arrive .. (and so on for ~90 lines per txt file) And I ...
0
votes
2answers
104 views

Find and Replace

I would like to find and replace a word such as banana and then I'd like to add the number 1 to the first word, number 2 to the second, and No. 3 to the third and so on. there is an easy way or do I ...
0
votes
1answer
262 views

NOTEPAD++ Need macro or typeitin for automation of large lists

I'm sure there is a way to do this but I can not seem to figure it out. I will try my best to explain this. I have a list with 20,000 lines in notepad++. I have two tabs open in notepad++. The right ...
0
votes
1answer
30 views

Searching some characters in text gives no results

I have this problem within many programs but to isolate the problem, I do this: I have myfile.cpp file. This file has this method: findmyIds() { ... } I open Notepad++ or Visual Studio or other ...
1
vote
1answer
1k views

Automatically insert time/date last modified into notepad++

How do I automatically insert the time & date last modified into a Notepad++ document? I have found a question about automatically inserting the current time, but it appears to be about a much ...
0
votes
2answers
379 views

Find CamelCase / WikiWord words using regex in Notepad++ (Np++)

I need a regex statement to find any words formatted in CamelCase. Examples include: CamelCase. Trunk_Note. Med-Dr.Zung. _MyToDo-Housework. _MyToDo-Vacation_Cancun iOS_GReader Key points: ...
1
vote
1answer
314 views

Is there a way in notepad++ to turn on word wrap for specific file types

When using notepad++, I want my .xml files to have word wrap turned on, while keeping it off for all my other files. Is this possible/is there a plugin for it?
2
votes
1answer
293 views

Notepad++ hotkey to `mark all` search text

What is the shortcut to mark all the text in search box?
0
votes
1answer
246 views

Windows 7 missing Central European characters

I just installed Windows 7 in English and I'm missing Central European characters in Notepad despite of picking "Central European" in [Format > Font... > Script]. In Windows 7 language settings I ...
5
votes
5answers
4k views

How do I remove empty lines in Notepad++ after pasting in data from Excel?

I want to clean up some data I copied from an Excel spreadsheet and wash off any formatting using Notepad++. I want to take advantage of line numbering of Notepad++ to count the number of lines I ...
8
votes
4answers
5k views

How can I sort the lines in a text file, by the length of each line, in Notepad++?

How Can I sort a text file by line length in notepad++? Is there any plugin available for the mentioned task? In case that there is no plugin, What is the first and maybe second tutorial to read, In ...
1
vote
1answer
91 views

Notepad++ find between lines

I would like to find out if there are "duplicate" text-fragment between two specific lines. For example i would like to find out that in the first "TestMethod" there is twice the "TC.Requirement" ...
1
vote
1answer
76 views

Finding matches around specific text in Notepad++

How can I find matches just Around text same as this: if(strcmp(cmdtext, " /x ", true) == 0) if(strcmp(cmdtext, " /y ", true) == 0) if(strcmp(cmdtext, " /z ", true) == 0) Basically, I want to ...
0
votes
2answers
286 views

Notepad++ Search by Columns

I would like to search a file only on the first column based on a set of IDs from another file. Copy and paste the results to another output file. For example , My first file contains ABHA-PHY49M ...
-1
votes
1answer
124 views

Make a dll color picker default for paint/etc?

I found this color picker DLL file online which is similar to the Photoshop's Color picker. Normally on other applications including ms paint, the color picker is very old and that's the reason I was ...
0
votes
1answer
136 views

Remove every second carriage return starting from line two

I have a text file where I'd like to remove every second carriage return starting with line 2. So the carriage return should be removed in lines 2, 4, 6, etc. The carriage return can is ...
1
vote
1answer
259 views

Multi-editing and column-mode are buggy in Notepad++?

It will probably be better if I tell you how to see for yourself what I mean rather than try describe it verbally. Take an example like this: this is an example line bluh this is a different example ...
0
votes
2answers
459 views

NOTEPAD++ REGEX - I can't replace what I find with nothing

Here is my regex statement which works great and highlights what I'm looking for in notepad++ (?<=thd)(.*)(?=]]><\/g_n>) But when I try to replace it with nothing aka an empty line or a ...
0
votes
4answers
122 views

Notepad ++: how to paste 50 times for a gallery I'm building

I'm building a new portofolio page along with some other html based projects. Really heavy on imnage galleries I export out of lightroom so that each file would be "ADA-#.jpeg" Then I need to add the ...
1
vote
0answers
44 views

Is Textmate like Ruby Markers “#=>” in notepad++ available?

I use Notepad++ to write Ruby code. Now sometimes to test some Ruby features I used to go IRB to see how that works. Can I get the same flavor in Notepad++ itself,like Textmate editor as below? x = ...
7
votes
2answers
4k 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++ ?
0
votes
1answer
392 views

How can I force file association update without admin rights on win7?

On windows 7 I previously used Foo\notepad++.exe to open .txt files, now that has been deleted and I want to use Bar\notepad++.exe. When I use the Windows OpenWith menu option on a .txt file and ...
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?