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
3k views

Notepad++ XML Auto Indent + Tag Closing

I'm migrating a question I posted on stackoverflow to here as it may be more relevant. Here is the question: I'm looking for a way to code XML (mxml, specifically) in Notepad++ such that it follows ...
2
votes
1answer
499 views

Notepad++ find in files filter for files with no extension

I'm using Notepad++'s "Find in Files" functionality to find specific text in a large number of text files across a large number of directories and subdirectories. I understand how to specify file ...
0
votes
1answer
252 views

An explorer pane in Notepad++?

I'd like to have a Windows Explorer-style left pane in Notepad++. Is there an add-on or plugin that accomplishes this?
1
vote
2answers
177 views

Closing right/left tabs in Notepad++

How do you close all the tabs to the right/left of the current tab in Notepad++? Is there a plugin or an autohotkey script that can achieve this?
1
vote
1answer
112 views

Notpad++ colorizing for a particular file extension?

For example how can I set Notpad++ to open .csl files as xml files?
3
votes
3answers
3k views

File switcher sidebar in Notepad++ 5.5

I would like to know how to get a vertical file switcher on the left side i.e. in the left sidebar in Notepad++ 5.5? I would like to have something like this as shown from the gedit editor?
0
votes
1answer
157 views

Match (highlight) invalid Hungarian notation variables syntax

We follow our own defined coding standard (Hungarian notation) as per our checklist, using Notepad++: Check that all variables are valid according to Hungarian notation identifier naming convention, ...
2
votes
2answers
5k views

Remove XML node in Notepad++

I have a large XML with the structure below. Now, I want to get rid of the <tuv xml:lang="en-GB"><seg>CONTENT</seg></tuv> nodes, so for each unit only the de-DE part stays ...
1
vote
1answer
391 views

Prevent inadvertent replacement in notepad++

Is there a way to make Notepad++ to ask for confirmation when replacing all instances of a string in a file or files? This is to prevent inadvertent replacement.
1
vote
1answer
146 views

Search and replace using regular expressions

I want to edit the text: appriskid = models.IntegerField(primary_key=True) app_name = models.TextField() identifier = models.CharField(max_length=150) version = models.CharField(max_length=60, ...
3
votes
2answers
824 views

Sane control-tab behaviour in Notepad++

How can I make control-tab (and control-shift-tab) behave sensibly Notepad++? I would like these shortcuts to behave as they do in my web browser, ie. control-tab moves focus to the next tab to the ...
1
vote
1answer
230 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++ ...
7
votes
1answer
5k 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 ...
0
votes
3answers
2k views

Running python / ruby interactively from within Notepad++ (NppExec console)

I've been using the NppExec console in Notepad to run python and ruby scripts using python script_name.py or ruby script_name.rb, and for the most part this works well: the output gets redirected into ...
6
votes
1answer
32k views

How would I replace a “TAB” in Notepad++?

I'm attempting to format a giant list. Each entry in the list is separated by a tab. I'd like to replace it with a \r\n in Notepad++. How would I got about this?
1
vote
1answer
524 views

Replacing 12 hour format date and time in Notepad++

I'm trying to remove the date / time stamp from text in the following format: Randomtext - randomtext 9 Aug 5:55am 2nd line of random text - 2nd randomtext 15 ...
2
votes
6answers
2k views

Open file with existing instance of Notepad++ portable

I have Notepad++ portable "installed" and if I try to open a file from Windows Explorer that should open with Notepadd++ portable I get the error Another instance of Notepad++ is already running. ...
5
votes
1answer
306 views

How do I abort a long-running regex replace?

Edit: While I refer to RegEx in my background, I'm not looking for you to fix my RegExp (thanks for trying though) - rather I want to know "how do I abort a search/replace in NotePad++". ...
3
votes
0answers
2k views

Adding 1 Incrementally in Search & Replace in Notepad++

I have a file that I want to extract data out of. I normally use web scraping to get the info I need, except in this case the information isnt readily "visible" for scraping needs. Reason being -- ...
1
vote
2answers
12k views

How to remove the first character of every line in Notepad++ [duplicate]

Possible Duplicate: delete first 27 characters from every line notepad++ I managed to find an answer to remove the last character from every line in Notepad++, but now I need the same ...
1
vote
2answers
2k views

How can you get the specific spaces you want to remove in notepad ++

Example: I want to remove the space I want to remove the space I want to remove the space How can I remove the word SPACE so that the three sentences will be a complete thought. Is there a ...
2
votes
2answers
426 views

Regular Expression Help Needed in Notepad++

I need to know the syntax for a regular expression (notepad++) to help me find/replace every instance of following string in a text document the string is as follows Where do you want to go next? ...
4
votes
1answer
366 views

Make floating window tab widths wider in Notepad++

How can I make the floating window tabs wider/static width in Notepad++ (version 5.9.6.2)?
1
vote
1answer
1k views

Porting Notepad++ syntax to Sublime Text 2

What's the best way to convert a Notepad++ style into a Sublime Text/Textmate syntax?
8
votes
2answers
2k views

Is there a way to turn off popups in Notepad++ macros?

I created a macro in Notepad++ that cleans up imported data through a series of regex search and replace iterations. This works well, but at each step, I get a popup telling me how many instances ...
10
votes
2answers
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?
0
votes
1answer
54 views

Expression to replace a section of test

I have a large xml file that I'm trying to replace text in and would like to replace sections of the test with other text. Below are example tags that I would like to modify. The section of each tag ...
2
votes
1answer
389 views

Interactive regex find highliting in Notepad++

How can I make Notepad++ highlight my regex matches as I type?
11
votes
8answers
9k views

Notepad++ - Removing the first column in a comma separated file

I have a large CSV file that I need to remove the first column of data. I cannot open it in Excel because Excel converts some of the values in the columns to scientific numbers. I am using Notepad++, ...
2
votes
1answer
2k views

Use Notepad++ styles with Sublime Text 2

Is it possible to use notepad++ syntax themes/styles with sublime text 2? If so, how do I do this. I code COBOL programs, and love some of the features in sublime. But it lacks the syntax ...
1
vote
1answer
1k views

Replacing last word in a line in Notepad++

How can I replace different last words in a line in Notepad++? e.g. This is line one This is line two This is line three etc. Replace with: This is line /one/ This is line /two/ This is ...
4
votes
5answers
12k views

Format xml in Notepad++

I have Notepad++ and XML Tools plugin installed. When I copy an XML file and paste it to the window. It became one line. How can I auo format it and make it readable? Thanks. The demo image likes:
8
votes
1answer
11k views

How to remove all the duplicated words on every line using Notepad++?

I'm working on a file containing lines with keywords and some lines contain duplicated keywords. For example: dangerous,dangerous,hazardous,perilous I want to tell Notepad++ that I want to remove ...
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)
1
vote
2answers
547 views

Find and Replace in Notepad++

I am trying to do a find and replace in Notepad++ I have a file that has an open bracket a number and a comma I want to replace the number leaving the value null Ex: Find: "(32," Repalce with: "(''," ...
0
votes
1answer
256 views

Regex Notepad++?

i don't how replace this text into this: ab fg\r fsd& into this: a b f g \r f s d & And Viceversa: r f f f into this: rf ff Can u help me, please?
1
vote
3answers
2k views

Icon not changing

As you can see in the first image, I have selected always open with notepad++ program. But, the problem is that the all the php files are opening with notepad++ program but the icons doesn't change. ...
1
vote
2answers
132 views

Notepad++: Regex issue

What I'm trying to do is to remove all line numbers. In other words to find and replace all expressions like x: or xx: with : Tried: No success! Also No success! Any suggestions? Thanks ...
1
vote
1answer
2k views

Replacing timestamps in Notepad++

I have a log file with time stamps on each line such as 2012-06-26 21:31:40 Killshot: Something, Something... 2012-06-26 21:31:40 Killed [player name] 2012-06-26 21:31:40 Executing Death Sequence ...
5
votes
2answers
7k views

How can I find words of a specific character length in notepad++?

I am looking to find words of 14 or more characters in Notepad++. Any ideas?
1
vote
1answer
178 views

Mac Txt File With Curly Quotes In Notepad++ On Windows

I'm so tired of changing curly quotes to real quotes. Some people that work with me use Mac OS X and when they send me .txt files they ALWAYS have curly quotes I open them on Windows with notepad++ ...
0
votes
1answer
60 views

Type macro's name in text editor to run it, Is such a thing even possible?

Atm, I'm notepad++ user working mostly on Javascript. And I have a lot of commands that I want to bind to macros. Remember all hotkeys is hard and unpleasant thing. So I wonder is it's possible to let ...
2
votes
1answer
2k views

How can I run a macro on multiple files?

I want apply a Macro created in N++ to multiple files stored in a folder or multiple folders.
0
votes
1answer
461 views

Notepad++, my regex that works elsewhere, seem not work with Notepad++ search

Hello i got following regex height="(\d*\.\d{3})\d*cm" And problem, while it works on site i did designed it http://gskinner.com/RegExr/ it wont work with notpad++, could someone help me ...
0
votes
3answers
4k views

notepad++ not working as expected

i'm using notepad++ for editing my php scripts. however i found a strange problem: when changing encoding from ANSI to UTF8 (without bom), saving, closing, re-loading - then checking encoding: is ...
1
vote
1answer
590 views

Open links in Notepad++ with keyboard

I can open internet links in Notepad++ by double clicking on a link. Is there a way to do this only using keyboard? I mean are there any key board short cuts to achieve this?
14
votes
1answer
3k views

is there a place to get/share notepad++ syntax highlighting?

I'd like Notepad++ to correctly style my cshtml files (that's ASP.NET MVC Razor view engine files). Rather than tweak one myself, is there a place I can grab one that's already made? If I do end up ...
2
votes
1answer
2k views

Remove similar strings from text?

i'm using notepad++ and sed on Windows. I have a file text 2000+ lines but sometimes i have this rows: http://www.shragle.com/files/9baa908b/Bvdub-The_First_Day-%2528HN031%2529-2012.rar ...
8
votes
1answer
9k views

JSON Validator for Notepad++?

I'm looking for a plugin that can check the current opened file and instantly tell me whether it is valid JSON or not (eg whether there's a comma or a bracket missing) — is there any? I'm currently ...
4
votes
1answer
1k views

How replace many words with other many words in Notepad++? [duplicate]

Possible Duplicate: Find and Replace several several different values all at once to find multiple words i use | But how regex must i use to replace words with many words? Look here ...