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

13
votes
3answers
6k 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 ...
13
votes
4answers
9k views

Notepad++: Is there a way to remove white spaces in empty lines automatically?

I don't want to delete the empty lines completely, but I want to remove the tabs and whitespaces in them. Eclipse usually does it (through a preference setting I guess) when we save the file. For ...
93
votes
5answers
98k views

How can I view two files side by side in Notepad++

I would like to split the Notepad++ window so that I can edit two files side by side. How can I do this in Notepad++?
0
votes
2answers
23 views

Notepad++: How to trim strings to a maximum length in a huge file?

community i need your help, please! i want to trim strings in a file with about 900000 lines: KAA BSJDKWLADDKHUEW AJMJJ GMEMJRGUMGA GJWEGRJGJALUSGEUIGRL AGUGADJF WE ..... I Want to trim all ...
0
votes
1answer
46 views

Add duplicate lines and numbers

i have a URL list like http://www.blabla.com/1/1.jpg http://www.blabla.com/1/2.jpg http://www.blabla.com/1/3.jpg ... http://www.blabla.com/2/1.jpg http://www.blabla.com/2/2.jpg ...
2
votes
1answer
29 views

Convert specific word to uppercase

I have a document which have a specific words started with underscore ("_"). I need a regular expression for notepad++ to change it to uppercase. I've tried this one but it doesn't work: _\w+
0
votes
3answers
38 views

Poor performance with large .txt

Is there an inherent bug in the design of .txt that signficant performance drops can be experienced when working with relatively large files? Working with a file of over a million characters on ...
0
votes
0answers
12 views

Notepad++ Find Result position

I am using Notepad++ 6.6.9 and somehow by accident I released the Find Result box from the bottom of the screen and I want it to reattach there again. I tried two methods found on superuser but ...
3
votes
1answer
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 -- ...
0
votes
1answer
17 views

Sublime Text Show Filanames when using Ctrl+Tab to Browse Opened files

Is there a way to show the list of files when I browse the open files using ctrl+tab keyboard shortcuts. It can be useful in selecting an appropriate file easily and visually. Not a deal-breaker but ...
0
votes
0answers
59 views

Deleting multiple entries without leaving a blank space? [on hold]

Is there a way in Notepad++ to remove multiple entries of the same set of numbers without leaving an empty line where those deleted numbers were? I am working with a single column of ...
0
votes
1answer
20 views

Is there a way to get Notepad++ to associate specific filenames with a language when they lack an extension? [duplicate]

Several systems rely on files without extensions but with the same file names, such as Vagrant which uses Vagrantfile to define a set of VM boxes. I know how to set up file extentions to match ...
0
votes
1answer
2k views

How to align text in notepad++ from left to right margins?

How can I align text to left and right margins by adding extra space between words as necessary? I'm looking for something like the Justified alignment (Ctrl+J) option in Microsoft Word.
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 ...
59
votes
3answers
6k views

Something took control over Notepad++? [duplicate]

So I was using Notepad++ today and then all of a sudden I couldn't move my mouse or keyboard but there was this message that was being typed out in a new page on Notepad, it was about the freedom of ...
0
votes
1answer
99 views

How to make smart highlighting case sensitive in Notepad++

According to the release notes for Notepad++ 6.1.7, the smart highlight feature has an option for being case sensitive. How do I enable the case sensitive option?
2
votes
3answers
4k 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" ...
14
votes
1answer
2k views

Notepad++: What does “Mac” format do?

Under Settings > Preferences > New Document > Format, there are 3 options: Windows, Mac, and Unix. I have looked on the Notepad++ Help pages, but it seems they're outdated, the images still ...
1
vote
2answers
402 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 ...
1
vote
2answers
2k views

How to change Notepad ++ cursor

I was playing around with a friend of mine and accidentally hit a bunch of keyboards on my Windows 7 laptop. I had Notepad ++ open at the time and when I came back to see what I was typing, the cursor ...
0
votes
0answers
24 views

Persistent Name column width of Doc Switcher panel in Notepad++?

In Notepad++ v6.6.9 for Windows, I have activated the "Doc Switcher" panel. Unfortunately, this panel does not remember the width of the "Name" column between sessions. Is there a way to ...
1
vote
1answer
33 views

Notepad++ macro for changing a certain part of a string

I want to define a Notepad++ macro that takes any string that contains "foo", and creates its new versions only changing the foo to "bar1", "bar2" etc. so if my file contains abc_foo_def when I ...
0
votes
0answers
19 views

Notepad++ find procedure/ function declaration

I need to find a procedure declaration in Notepad++. How should I search using regex to find procedure someproc(..) and not the procedure "includes" external procedure someproc(...) i.e., search ...
0
votes
1answer
23 views

Find and Repleace with notepad++ and Wildcards/Placeholders

Please does someone knowm, how to do the following search and repleace with notepad++ ? from: to_timestamp('01-JAN-16 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'), to: str_to_date('01-JAN-16 ...
2
votes
2answers
164 views

Notepad++ sources

Is there a way to get Notepad++ source code?
147
votes
6answers
58k 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?
0
votes
1answer
28 views

Notepad++ Column Based Language

I am working with files that have a specific character layout, i.e. bytes 1-10 bytes11-20 FirstName LastName FirstName LastName Is there anyway to specify a language that highlights or ...
0
votes
2answers
35 views

regex delete line contain result in office word 2013

I have a document in word. My paragraphs like: asdfasdfasdf abcYear052014 asdfasdfasdf acbYear122013 I want delete line xxxYearyyyy so in notepad++ I put .*[0-9]201[0-9]$ and replace with ...
2
votes
1answer
60 views

NotePad++ - How to remove or replace newline characters?

Within my notepad++ environment, I have the following value on a page... test me out </li> I can search and find the ending </li> value with.... \n</li> but what do I need to ...
0
votes
1answer
32 views

Can you reload a file from the server in Notepad++?

In Notepad++ I am using the NppFTP extension and would like to be able to reload the file from the server. There is an option to reload from disc, but that does not get any changes that someone else ...
2
votes
2answers
5k views

FTP and Notepad++

I've been using UltraEdit for several years now, but after upgrading to Windows 7, I decided to try out Notepad++ instead. It seems pretty similar and pretty powerful, but one of the best features of ...
0
votes
2answers
27 views

Can you replace between two words? - Notepad++

I got this list and I want to replace everything between ".gif" with the number on the other side ".gif" needs to replaced with everything between > and .gif on the same line So you got ".gif" and ...
14
votes
6answers
18k views

Does Notepad++ backup pre-edited files anywhere?

If I've accidentally modified a configuration file using Notepad++, saved it, and then closed the file - is there any possibility that Notepad++ may have saved the pre-modified content in a temporary ...
62
votes
5answers
176k views

Notepad++ find and replace string with a new-line

Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence). abc123 ...
2
votes
7answers
13k 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 ...
4
votes
1answer
466 views

Why is notepad++ writing to my new document?

I updated notepad++ and it started writing to the screen. I quickly closed it not knowing what it was, but now I'm curious do I have a 'hacked' copy of notepad++?
0
votes
1answer
17 views

Open multiple files in notepad++ from a directory and subdirectory. I have file names in .txt file comma separated

I want to open multiple files in notepad++ or any other editor(where I can replace string in all files) from a directory and subdirectory I have file names in .txt file comma separated.
0
votes
1answer
17 views

How to edit TextFX plugin of Notepad++ to have my own timeformat?

I tried Python Scripting but its not working for me. It throwing unexception. But Text fx is working great to add time. So anyone please help me to edit TextFX plugin.
-2
votes
0answers
24 views

notepad++ how to make user defined language resemble ini file language?

notepad++ how to make user defined language resemble ini file language? the default ini language from notepad++ is not forcePureLC="0". that's why i want ini file with forcePureLC="0" on user defined ...
13
votes
2answers
12k views

The best syntax highlight for JSON data file in Notepad++

Currently my latest version of Notepad++ displays .json file as below snaphots which looks so dumped. Do you have any sysntax highlight set recommended for json data file? In the photo, @1: key, @2: ...
0
votes
1answer
27 views

keeping right-to-left direction in notepad++

I use ctrl+alt+R to change the direction into right-to-left, but I want to keep it as my default direction so when I close it and open it again, I have the same direction.
65
votes
9answers
39k views

ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

ShellExecute failed (2): Is this command correct? "C:\Program Files (x86)\Notepad++\notepad++.exe [location of file to edit] I seem to have some issue with RIGHT CLICK > Edit with Notepad ++. ...
0
votes
0answers
12 views

permanently setting curly braces style [duplicate]

When using notepad++ v6.6.3 I can go to Settings > Style Configurator and the select Brace highlighting style to choose my preferred colour style. However, I have to do this every time I open ...
13
votes
5answers
34k 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++?
23
votes
1answer
18k views

Sorting lines in Notepad++ without TextFx plugin

Current version of Notepad++ is 6.6.3. Version 6.5.2 is the first, that introduced native (without plugin) sorting function to Notepad++. At least that's what they claim. Because, even though we're ...
2
votes
1answer
38 views

Find UTF8 characters with RegEx

I have many files (xml, css, js, html) and would like to see everyone who has "UTF-8" characters, because some files are in ANSI and others in UTF-8 without BOM. I tried several "RegEx" to the ...
0
votes
0answers
21 views

Notepad++ crashing when closing document tab since flash drive is removed

I was attempting to help the friend of a friend open a Word file that for reasons unknown to them had become corrupt. I gave Notepad++ a go after some other tries with other software, thinking I ...
2
votes
2answers
6k 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 ...
0
votes
1answer
44 views

Syntax highlighting of inline comments wrong for INI files

When editing an INI file, if I put an inline comment at the end of a declaration then the color of that comment is not the same as the color of the normal comment below. How can I make them the same? ...
0
votes
0answers
23 views

Collapse regions using user defined language

I'm trying to add a User Defined Language in Notepad++ to allow regions in my documentation file to be collapsible. Header Sample -------------------------------------------------------------- -- ...