I like Notepad++ very much but i don't know how to set:
1 auto closing (like brackets) of quotes " and ' and highlighting matches pairs
2 auto completion and auto closing of HTML-tags in files with different to .html, htm extensions
3 displaying BOM in files that has it
4 utf-8 in new files, no utf-8 as ascii (n++ saves utf-8 files without diacritic sings as ascii)
5 simultaneously auto completion and auto closing for PHP, HTML, JS in one file
6 viewing and editing CSV files by columns and by rows
Pleas help me. I checked FAQ and manual but i couldn't find solutions. Especially i need auto closing of quotes and HTML-tags in files without html and htm extensions.
BTW how could i install HTML, CSS and PHP list of tags and functions with short descriptions and how could i use TIDY or different validator for HTML and CSS.
Maybe you know some useful n++ plugins for web develop, then pleas, link it.
best wishes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't see how to do that. Post a request on IdeaTorent. I'd add the ability to run a macro on opening a file as well (that would be stored in session file).
CChirs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 1 auto closing (like brackets) of quotes " and ' and highlighting matches pairs
Not supported. You may consider asking the developers of TextFX to add this.
> 2 auto completion and auto closing of HTML-tags in files with different to .html, htm extensions
In TextFX Settings, you can set Autoclose XHTML/XML tags, but this is suported only for the HTML and XML languages. Perhaps the XWebEdit plugin is what you need.
> 3 displaying BOM in files that has it
Change format to UTF-8 without BOM.
> 4 utf-8 in new files, no utf-8 as ascii (n++ saves utf-8 files without diacritic sings as ascii)
Settings -> Preferences -> New Document/Open Save Directory, choose the encoding for new files there.
> 5 simultaneously auto completion and auto closing for PHP, HTML, JS in one file
I don't know if the KVS lexer plugin supports this. When Scintilla supports nested lexers, perhaps it may work.
> 6 viewing and editing CSV files by columns and by rows
Well, this is a text editor and not a spreadsheet, mind you... You can always insert a ruler (a TextFX command) and use either the Column Editor (Edit menu) or use special typing mode in rectabgular selections. I don't know what you want to achieve.
> 7 CSS completion, is it possible?
Are you talking of word completion? You have to enable it from Settings -> Preferences -> Backup/Auto Completion
HTH
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
<em>> 4 utf-8 in new files, no utf-8 as ascii (n++ saves utf-8 files without diacritic sings as ascii)
Settings -> Preferences -> New Document/Open Save Directory, choose the encoding for new files there. </em>
I know about it, but it doesn't work. Only when new file has diacritic signs np++ save it as utf8. If not, then np++ save it as ascii. So if i create new file without diacritic signs and save it and open and type diacritic signs and save it again then notepad save it as ascii - it is very uncomfortably.
<em>> 6 viewing and editing CSV files by columns and by rows
Well, this is a text editor and not a spreadsheet, mind you... You can always insert a ruler (a TextFX command) and use either the Column Editor (Edit menu) or use special typing mode in rectabgular selections. I don't know what you want to achieve. </em>
Sometimes i need to quickly edit table in csv without excel or web, I dont know how could i ruler from TextFX and typing mode in rectangular. Please, tel me how?
Where could check list of plugins and <strong> description how they works?
best wishes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One more question: how could i compare two files? I can turn on second view, but where is compare function? And how could i set wrapping lines, only lines witout wrapping words?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no native compae function, but there is a standard Compare plugin, which comes in the installed bundle if you chose to install plugins. See the Plugins menu and check the entries of the Compare submenu, if you have it.
Wrapping lines: use Edit -> Word wrap to turn on or off. Wrapping takes place at the window edge, not at a fixed number of characters.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> Sometimes i need to quickly edit table in csv without excel or web, I dont know how could i ruler from TextFX
TextFX ->TextFX Tools -> Insert ruler
> and typing mode in rectangular. Please, tel me how?
If you select a rectabngle of text, holding Alt while clicking on some corner and shift-moving the mouse to mark the area, then the following two features are eneblad:
* Edit -> Column editor. You can insert fixed text on each row, or insert a series of numbers.
* Rectangular typing mode: if you type in your selected text, a whole column of the same characters will be inserted. Any non typing action cancels the mode and returns to normal typing.
> Where could check list of plugins and <strong> description how they works?
There is a list, which I believe to be complete, at http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central . It has short descriptions for each plugins. You'll find a more thorough description on each plugin's download page or in the bundled documentation. Proper documentation is the sole responsibility of the author, so there is a wide variety of forms and accuracy/completeness levels.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> I know about it, but it doesn't work. Only when new file has diacritic signs np++ save it as utf8. If not, then np++ save it as ascii. So if i create new file without diacritic signs and save it and open and type diacritic signs and save it again then notepad save it as ascii - it is very uncomfortably.
There are two ways around this:
1/ choose UTF-8 as encoding, instead of UTF-8 without BOM. This way, your UTF-8 file can never be mistaken for an ANSI file.
2/ On loading your file, always check the status bar. If it unexpectedly says encoding is ANSI, use Format -> Encode as UTF-8.
Without a BOM, Notepad++ has to guess the format of a file. If there is no diacritics, the file will look the same whether it is ANSI or UTF-8 encoded, so N++ chooses the more common ANSI encoding. When this is a mistake, you must tell Notepad++, because it just cannot. Using a BOM is the safest.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no native compae function, but there is a standard Compare plugin, which comes in the installed bundle if you chose to install plugins. See the Plugins menu and check the entries of the Compare submenu, if you have it.
I don't have it, I installed np++ once more, there is plenty of plugins in menu but i cant find plugin with "compare" (or some thing like that) in name
thanks for link to plugin list.
best wishes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Chris,
it is possibly to run macro on many files? Especially all open files? For example i need to cut spaces on lines ending in 30 files. Switching between tabs (files) and run macro on each of them is horror.
best wishes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone!
I like Notepad++ very much but i don't know how to set:
1 auto closing (like brackets) of quotes " and ' and highlighting matches pairs
2 auto completion and auto closing of HTML-tags in files with different to .html, htm extensions
3 displaying BOM in files that has it
4 utf-8 in new files, no utf-8 as ascii (n++ saves utf-8 files without diacritic sings as ascii)
5 simultaneously auto completion and auto closing for PHP, HTML, JS in one file
6 viewing and editing CSV files by columns and by rows
Pleas help me. I checked FAQ and manual but i couldn't find solutions. Especially i need auto closing of quotes and HTML-tags in files without html and htm extensions.
BTW how could i install HTML, CSS and PHP list of tags and functions with short descriptions and how could i use TIDY or different validator for HTML and CSS.
Maybe you know some useful n++ plugins for web develop, then pleas, link it.
best wishes
I don't see how to do that. Post a request on IdeaTorent. I'd add the ability to run a macro on opening a file as well (that would be stored in session file).
CChirs
I forgot about CSS completion, is it possible?
> 1 auto closing (like brackets) of quotes " and ' and highlighting matches pairs
Not supported. You may consider asking the developers of TextFX to add this.
> 2 auto completion and auto closing of HTML-tags in files with different to .html, htm extensions
In TextFX Settings, you can set Autoclose XHTML/XML tags, but this is suported only for the HTML and XML languages. Perhaps the XWebEdit plugin is what you need.
> 3 displaying BOM in files that has it
Change format to UTF-8 without BOM.
> 4 utf-8 in new files, no utf-8 as ascii (n++ saves utf-8 files without diacritic sings as ascii)
Settings -> Preferences -> New Document/Open Save Directory, choose the encoding for new files there.
> 5 simultaneously auto completion and auto closing for PHP, HTML, JS in one file
I don't know if the KVS lexer plugin supports this. When Scintilla supports nested lexers, perhaps it may work.
> 6 viewing and editing CSV files by columns and by rows
Well, this is a text editor and not a spreadsheet, mind you... You can always insert a ruler (a TextFX command) and use either the Column Editor (Edit menu) or use special typing mode in rectabgular selections. I don't know what you want to achieve.
> 7 CSS completion, is it possible?
Are you talking of word completion? You have to enable it from Settings -> Preferences -> Backup/Auto Completion
HTH
CChris
Thanks for reply!
<em>> 4 utf-8 in new files, no utf-8 as ascii (n++ saves utf-8 files without diacritic sings as ascii)
Settings -> Preferences -> New Document/Open Save Directory, choose the encoding for new files there. </em>
I know about it, but it doesn't work. Only when new file has diacritic signs np++ save it as utf8. If not, then np++ save it as ascii. So if i create new file without diacritic signs and save it and open and type diacritic signs and save it again then notepad save it as ascii - it is very uncomfortably.
<em>> 6 viewing and editing CSV files by columns and by rows
Well, this is a text editor and not a spreadsheet, mind you... You can always insert a ruler (a TextFX command) and use either the Column Editor (Edit menu) or use special typing mode in rectabgular selections. I don't know what you want to achieve. </em>
Sometimes i need to quickly edit table in csv without excel or web, I dont know how could i ruler from TextFX and typing mode in rectangular. Please, tel me how?
Where could check list of plugins and <strong> description how they works?
best wishes
One more question: how could i compare two files? I can turn on second view, but where is compare function? And how could i set wrapping lines, only lines witout wrapping words?
There is no native compae function, but there is a standard Compare plugin, which comes in the installed bundle if you chose to install plugins. See the Plugins menu and check the entries of the Compare submenu, if you have it.
Wrapping lines: use Edit -> Word wrap to turn on or off. Wrapping takes place at the window edge, not at a fixed number of characters.
CChris
> Sometimes i need to quickly edit table in csv without excel or web, I dont know how could i ruler from TextFX
TextFX ->TextFX Tools -> Insert ruler
> and typing mode in rectangular. Please, tel me how?
If you select a rectabngle of text, holding Alt while clicking on some corner and shift-moving the mouse to mark the area, then the following two features are eneblad:
* Edit -> Column editor. You can insert fixed text on each row, or insert a series of numbers.
* Rectangular typing mode: if you type in your selected text, a whole column of the same characters will be inserted. Any non typing action cancels the mode and returns to normal typing.
> Where could check list of plugins and <strong> description how they works?
There is a list, which I believe to be complete, at http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central . It has short descriptions for each plugins. You'll find a more thorough description on each plugin's download page or in the bundled documentation. Proper documentation is the sole responsibility of the author, so there is a wide variety of forms and accuracy/completeness levels.
CChris
> I know about it, but it doesn't work. Only when new file has diacritic signs np++ save it as utf8. If not, then np++ save it as ascii. So if i create new file without diacritic signs and save it and open and type diacritic signs and save it again then notepad save it as ascii - it is very uncomfortably.
There are two ways around this:
1/ choose UTF-8 as encoding, instead of UTF-8 without BOM. This way, your UTF-8 file can never be mistaken for an ANSI file.
2/ On loading your file, always check the status bar. If it unexpectedly says encoding is ANSI, use Format -> Encode as UTF-8.
Without a BOM, Notepad++ has to guess the format of a file. If there is no diacritics, the file will look the same whether it is ANSI or UTF-8 encoded, so N++ chooses the more common ANSI encoding. When this is a mistake, you must tell Notepad++, because it just cannot. Using a BOM is the safest.
CChris
There is no native compae function, but there is a standard Compare plugin, which comes in the installed bundle if you chose to install plugins. See the Plugins menu and check the entries of the Compare submenu, if you have it.
I don't have it, I installed np++ once more, there is plenty of plugins in menu but i cant find plugin with "compare" (or some thing like that) in name
thanks for link to plugin list.
best wishes
I think that compare plugin should be included in installer as default. Now it isn't - v5.4.3.
And the last, is there a possibility to replace aspell dict by hunspell (from open office)?
This I'd ask in Plugin Development forum, or directly to the maintainer of the SpellChecker. plugin.
CChris
Chris,
it is possibly to run macro on many files? Especially all open files? For example i need to cut spaces on lines ending in 30 files. Switching between tabs (files) and run macro on each of them is horror.
best wishes