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

0
votes
1answer
169 views

Save indicator in Notepad++ [duplicate]

There used to be an option in Notepad++ that when you save a file, it showed a green vertical bar on the left, and when you make any change, it turns yellow. This behavior is in Visual Studio and SQL ...
0
votes
2answers
110 views

How to delete a line in Notepad using Replace?

I have very large log file , there are lot of useless stuff in that. So can anyone tell me how to delete a whole line if that particular line has matching string ? for ex: i want to delete every line ...
2
votes
2answers
1k views

Notepad++ highlight transparency

I use dark themes and when I select a word, Notepad++ highlights all the occurences of that word in the current document. But the highlight color for matches other than the current word is somehow ...
1
vote
2answers
450 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 ...
0
votes
3answers
379 views

Is it possible to dump the names of all the open files in notepad++ to a file?

So, I dragged and dropped multiple files onto notepad++. The files came from different directories and were selected using different criteria. So, I have many files open in Notepad++. Now I need to ...
1
vote
1answer
271 views

Notepad++ Undo undoes whole replace history

In Notepad++ (v6.5), having done a series of Find-and-Replace-All's, hitting CTRL-Z seems to undo the whole series. Hitting CTRL-Y redoes the whole series. Can you undo only the last Replace-All ...
0
votes
2answers
689 views

notepad ++ highlight matching div

When I select a div in notepad ++ it would highlight the matching div via the line on the left (next to the line numbers). I've just installed Notepad a fresh on a new machine and its no longer ...
0
votes
2answers
497 views

No final new line in notepad++ documents

I'm writing bash shell scripts with Unix line endings using notepad++. However, the final line never contains a new line. I must manually create it by pressing "enter" and having a blank line in my ...
2
votes
2answers
367 views

Find and Replace one character in the middle in Notepad++

I am trying to find and replace an arrangement of 6 letters\special character\numbers. For example they appear as such in my original code DEVICE_NAME","CB2_02 DEVICE, DEVICE_NAME","CB3_09 DEVICE, ...
2
votes
1answer
529 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, ...
0
votes
2answers
172 views

Notepad++: remove all border-radius in my css

I'm trying to understand how to remove all the border-radius' in my css file. The format is: border-radius: *px; But I tried with every combination of * and . and couldn't get it to work. The count ...
0
votes
1answer
61 views

Insert new line before each operator [duplicate]

Suppose I have a line like this: abc + def - vfg * I want my output to be like this: abc def vfg If only a single operator is there, I can replace: \r\n+ with + but how to do it irrespective ...
4
votes
1answer
443 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 ...
1
vote
1answer
92 views

Is it possible to associate a notepad++ plugin with a file extension?

I have installed notepad++ with the jsonviewer extension. Now it is possible to view and browse json in a friendlier format but I would like to do that without shortcut keys or browsing the menu. So ...
0
votes
1answer
588 views

Convert .txt. file from windows-1251 to utf-8

I'm trying to read the cyrillic text that is stored in .txt format. Once I open it with OpenOffice, it is OK. Once I open it with Notepad++, it shows unreadable symbols. Setting Windows-1251 prior ...
0
votes
1answer
153 views

Replace first instance in Notepad++ using Regex

I'm completely new to RegEx and could really use some help with my dilemma. I have a large text file of IP addresses and corresponding hosts: 157.55.33.47 msnbot-157-55-33-47.search.msn.com ...
-1
votes
1answer
84 views

Using Notepad++ to replace only a part of the text

In a html file I want to replace <div id="pe1" style="display:none"> <div id="pe2" style="display:none"> .... <div id="pe20" style="display:none"> with <div id="pe1" ...
1
vote
0answers
321 views

Notepad++ disable document switcher mouse shortcut

Notepad++ has this feature where you can right click + mousewheel to scroll between documents. My problem is that I hit this all the time by accident resulting in minor (yet cumulative) annoyances ...
0
votes
0answers
60 views

How can i keep and remove some charecters from specific line notepad++

i have about 1000 of 80000 rows that looks like these lines and with different disposition ...
0
votes
1answer
792 views

Add new line after words matching a specific pattern

I'm trying to add a new line before and after a hyphenated word (one or many hyphens) in Notepad++ Input This is a search-and-replace test which I need-help to figure-out</h2> Output This ...
0
votes
1answer
71 views

How do I process this data with a regex in Notepad++?

I have a database dump, looking like this: ;i:23;s:18:"Product Name1";i:24;s:27:"Product Name2";i:25;s:15:"Product Name3"; [...] All I'd like to get in Notepad++ is this: Product ...
0
votes
1answer
142 views

Performance issues with Notepad++

For some reason, Notepad++ has performance issues when I open a file containing a very long line (+40M characters). The total size of the file is approximately 60 MB. I have to wait several seconds ...
1
vote
0answers
316 views

How do I restore verbose backup (bak) of notepad++ file?

My system crashed and my document is hosed. I have a restore from yesterday morning, but want to see if I can restore any of the .bak files that npp has produced for me. I enabled the verbose backup ...
2
votes
2answers
666 views

Notepad++ - HighLight matching tags in php

Have php with echoing html tags. notepad++ 6.4.5 is highlighting ok the tags inside php and outisde php. notepad++ 6.5 is highlighting ok the tags only outisde php and NO HIGHLIGHT inside php code. ...
0
votes
1answer
103 views

Notaped++: pasting in block edit mode in Notepad++?

I can enter the block edit mode using Shift+Alt+A in Eclipse. For Notepad++ they recommend push down the Alt key then select the block you want with the mouse (without releasing the Alt key). ...
3
votes
1answer
1k views

Increment Number in notepad++

I have numbers like 32,33,33.1,33.2,34,34.1,35,35.1,35.2,35.3,35.4,36 and so on. Now is it possible that if I will change the number 32 to 52, then all respective numbers will also change like ...
2
votes
1answer
913 views

In Notepad++, how do I remove characters after a certain character?

In NotePad++, I want to remove everything after the third : character in a line. So, the character would look like: text:moretext:evenmoretext How would I get rid of the evenmoretext?
0
votes
1answer
1k views

Config Eclipse to open files in external editor

We can go in Windows > Preferences, Editors > File Assossiation to config external editor for any file type. I've done that and now I can right click on any file and go Open With to open that file in ...
0
votes
1answer
367 views

How to replace multiple text into div tags using Notepad++?

I'm a new user of Notepad ++ and I need your help. I have several pages templates using shortcodes like this: [div] Block Text1 [/div] [div] Block Text2 [/div] I'd like to find a fast way to paste ...
0
votes
0answers
26 views

how I change this regex to work in these texts [duplicate]

3 days ago a friend give me a code to keep some sentences and delete other sentences that they were not need in notepad ++. Today My teacher told me that this code don't work for all of sentences and ...
0
votes
1answer
37 views

Restore the compare mini-window in Notepad++

In notepad++ when you use compare, there's that miniwindow that shows and overview of changes across the whole document. I've closed that at some point - how do I restore it?
0
votes
1answer
115 views

How to keep special strings in notepad++ and delete other strings?

I want to find some special strings in my text and then delete other strings. For example in this sentence: ( (IP-MAT (CONJ vnnd) (NP-NOM (D das) (N wort)) (BED war) (PP (P bey) ...
0
votes
1answer
120 views

How set colors for css selectors if css code is embeded?

I have Notepad++ 6.4.5. Is it possible to set different colors for css selectors if css code is EMBEDDED into php file, as if css code is in a separate file ?
-2
votes
1answer
296 views

Extract Mobile Numbers from text file Starting with 0300 or 0321. Like 0300-XXXXXXX, 0321-XXXXXXX [closed]

How can I extract only mobile numbers from my text file? Mobile numbers format is 03xx-xxxxxxx. Text is something like this: 1 Mr.Pervaiz Ahmad Latifi Rajput Traders, W/571, Ratta Road, Near ...
0
votes
0answers
1k views

Notepad++ keyboard shortcut assignment always not working

I like to set a lot of keyboard shortcut (you can call me a shortcut freak) thus I have been assigning quite a lot of shortcuts in the shortcut mapper. After assigning I found out that some shortcuts ...
1
vote
0answers
47 views

Script to port specifc data from doc1 (notepad++) to specific place(s) in doc2

I really appreciate your help with a windows script or regex function that ports specific data from doc1 (xml in notepad++) to specific place(s) in doc2 (notepad++). I'm running win8. Thank you in ...
0
votes
1answer
235 views

Added new autocomplete words to Notepad++ html.xml but they don't autocomplete?

I edited the html.xml file in Notepad++ i've added one new line to test if it would autocomplete but it's not. I added <KeyWord name="form-control" />. This isn't an html tag but a CSS class. So ...
3
votes
1answer
483 views

Saving part of found term when replacing in Notepad++

I want to use Notepad++ to find/replace large chunks of code, but a hefty part of it deals with arrays. How can I put a "variable" in Notepad++'s Find/Replace window so that part of it can be saved ...
7
votes
2answers
6k views

Notepad++ expand/collapse block with keyboard

My question is pretty straight-forward, is there a way in Notepad++ to expand and collapse blocks with keyboard shortcut? I already know about the alt+0 and alt+shift+0 to expand / collapse all blocks ...
1
vote
2answers
214 views

Text editor that shows preview window of CSS classes, ID's and elements [closed]

I use a combination of Notepad++, Sublime and also Dreamweaver. I still use DW because of its really handy CSS Styles window, and for me its the quickest way of navigating through large CSS files. ...
2
votes
1answer
473 views

Change the new file name in Notepad++

Is there a way to change the default new file name from "new #" to something else, or at least remove the space and/or replace it with an underline.
0
votes
0answers
59 views

Notepad++ find in files found nothing

Notepad++ find in files used to work for me a while a go. And I just tried to use it again last week, it found nothing even I know the being searched string is in the directory. I have tried different ...
1
vote
0answers
69 views

merge two rows if first column is same in notepad++

I have the following data 11111 | aff | baucj | blah | blah 13331 | azvaff | bcacj | blah | blah 11111 | aasfff | aascj | blah | blah 13331 | aafzvff | baucj | blah | blah 12221 | arthrf | bacsfucj | ...
1
vote
1answer
327 views

Notepad++ 6.4.5 disable plugins update tab

How to disable Updates tab from Plugins i.e. Launch the Notepad++ shortcut Go to "Plugins"->"Plugin Manager" -> "Show Plugin Manager" Under that there's an Updates tab. Is there a way to disable ...
0
votes
1answer
319 views

Notepad++ issue VBScript code appearing on .html files

Hi guys I am having problems with notepad++. Everytime I close an HTML file there is always a vbscript code that appears below the HTML file. Is this a virus with notepad++? The VB script code does ...
3
votes
3answers
6k views

Notepad++ doesn't show Russian letters

I'm trying to setup the translation file (.php) but can't get Notepad++ to display the Russian text. The file was created on a PC with Russian Windows 7 (Windows Notepad) and everything looks fine ...
3
votes
4answers
5k views

Notepad++ How to cut all text after a specfic character

I have some text I want to edit using Notepad++. The text follows a pattern such as test 1 - test1, test 2 - test2, test 3 - test3 and so on, one per line. I would like to 'cut' all the ...
3
votes
3answers
31k views

Using wildcard search/replace in Notepad++

Here's my problem: In a .txt file, I need to find and replace thousands of instances of syntax like this: (see (a053007djfgspwdf)) or (see (a053007djfgspwdf) and (a54134xsedgeg)) or (see ...
1
vote
2answers
112 views

Display Notepad++ file search results in realtime?

Is there a way to display Notepad++ file search results as they are found, rather than all at once when the search is completed? When searching through large directories, it would be nice to be able ...
4
votes
1answer
63 views

Is it possible to move tabs with keyboard in Notepad++

Is it possible to move tabs with keyboard in Notepad++? I am not talking about moving between tabs but reorganizing tabs with keyboard only.