notepad++

Question About Icons and GUI For Notepad++ Lovers

In the notepad++ website there's a technique to change the icons with any other "ico" format image. Each icon has it special name in order to be detected by notepad++. For instance, the new file icon is: new_normal.ico. The open file icon is: fileopen_normal.ico and so on. But I can't find the special names for Synchronize Vertical Scrol...

Enabling autocomplete in Notepad++ for .API files?

Does anyone know how to get auto-complete working in Notepad++ using the .API files provided on the N++ site? Autocomplete works fine for me in languages which have an XML autocomplete file in the APIs folder, but completely non-functional for languages that use a .API file (ruby, AutoIt, others). From what I've been able to find online...

Commenting code in Notepad++

Hi I'm using Notepad++ as an editor to write programs in Python. It might sound daft but I looked around in the editor and could not find any means (not the manual way but something like in Emacs) to do a block comment in my code. Since so many language settings are supported in Notepad++, I'm curious to find a way to block comment cod...

Using Regex to remove Carriage Returns in a CSV file in Notepad++

I have a CSV file I need to clean up. This is a one-time thing so I'd like to do it in Notepad++ if possible. The CSV file has two fields, one of which is wrapped in quotes. I'd like to remove any Carriage Returns from within the quoted field. I was trying to use this pattern but can't get it quite right... (.*)\"(.*)\n(.*)\"(.*) Als...

Regex to change to sentence case

I'm using Notepad++ to do some text replacement in a 5453-row language file. The format of the file's rows is: variable.name = Variable Value Over Here, that''s for sure, Really Double apostrophe is intentional. I need to convert the value to sentence case, except for the words "Here" and "Really" which are proper and should remain c...

Using JSLint in Notepad++

I have seen other text editors use extensions to allow syntax checkers such as JSLint, is this possible with Notepad++? ...

Extend Notepad++

Hi! As I use Notepad++ daily at work, I want to extend it to be more productive. What i want to do is select multiple lines containing words, right click and click a menu item like "Comma separate" then get all words on a single line comma separated. I know that Notepad++ has support for macros and plugins. What would be the best way ...

How to make Notepad++ open file browser in current folder?

Hi, I set Notepad++ to be called from command-line. I would like it to open file browser in current folder from which it was called so that I could work with files in that folder. Is there any way to do this; any suggestions, ideas how to go about it? Textmate has this feature, which is very convenient. [edit] To clarify, I was looking...

How to make Notepad++ run script based on its name?

Hello. I want to make notepad++ run the "ruby {filename_here}" command if the current filename ends with .rb and "perl {filename_here}" if it ends with .pl. I've tried to use the NppExec plugin, but it can't do conditional stuff, so I wrote a bat @echo off if /i %~sx1 == .pl perl "%~f1" if /i %~sx1 == .rb ruby "%~f1" if /i %~sx1 == .p...

Does anyone know how to make notepad++ treat csproj files as XML automatically?

Dear ladies and sirs. I often use notepad++ for editing of the csproj files. And I always need to go to the Language menu and select XML in order to get syntax highlighting. Is it possible to configure notepad++ to treat csproj files as XML automatically? Thanks. ...

Need help removing strange characters from string

Currently when I make a signature using java.security.signature, it passes back a string. I can't seem to use this string since there are special characters that can only be seen when i copy the string into notepad++, from there if I remove these special characters I can use the remains of the string in my program. In notepad they look ...

Question about HTMLTidy in Notepad++

How do I make it so that instead of indenting my elements by multiples of 2 spaces (when formatting without wrapping is selected), HTMLTidy indents them by multiples of tabs (4 spaces long but only 1 byte in size)? ...

Question on how to configure HTML Tidy in Notepadd++

How do I make it so that HTMLTidy in Notepad++ only indents when I select "TextFX-->TextFX HTML Tidy-->TiDy Clean Document-nowrap"? All I want it to do is indent tags. But it also changes the Doctype, adds an xmlns attribute to the html tag, changes tags, and probably does some other stuff to the html document. All I need it to do is in...

What's the best way to automate text replacing?

Here's the situation: I have a lot of HTML files, and these HTML files link to a lot of documents. The documents have ALL been renamed. I have an excel sheet which has the old name of the file and the new name of the file. What would be the quickest way to change the links inside the HTML files to accommodate the new names? The method...

Notepad++ Delete Lines with Find & Replace

Does anyone know how to delete a line using Find & Replace in Notepad++ ? In my Find query it finds the proper lines okay: ^.pPrev.$ In the Replace field, I leave it blank thinking the line should deleted (i.e. replaced with nothing), but the newline and endline characters remain. ...

Haml/Sass Syntax Highlighting in Notepad++?

Has anybody made this yet? ...

Compiling ocaml in notepad++

Hello. I'm learning OCaml at the moment and was wondering if it is possible to let Notepad++ take care of the interpreting of my scripts, and display the output in the compiler window? Thanks! ...

Notepad++ Regular expression find and delete a line

Hi, I am trying to find and delete a line using Notepad++ I need to find lines in this file (UNIX Format) that match the string '#RedirectMatch Permanent' and delete that line. Does anyone know how to do this using Notepad++ Find and Replace? Thanks and Kind Regards, ...

What is "ANSI as UTF-8" and how can I make fputcsv() generate UTF-8 w/BOM?

I made a PHP script that generates CSV files that were previously generated by another process. And then, the CSV files have to be imported by yet another process. The import of the old CSV files works fine, but but when importing the new CSV files there are issues with special characters. When I open old CSVs with Notepad++, it says t...

Notepad++ regular expression find and replace $_REQUEST with $_GET but a more secure

What I am doing is replacing, in a large program, all $_REQUEST['var'] and mysql_escape_string($_REQUEST['var']) with either the 1st or 2nd line below the dotted line. Now, I have figured out this much of the regular expression but I would like to make it simpler. Instead of having to run the top one first then the 2nd one I would like...