In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail what is worth mentioning in Notepad. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Some of the features that I find useful and worth mentioning are:
1. Syntax highlighting and color customization are supported
The key is that it supports a large number of languages, in addition to the common cmax cymbals, recording, recording, java and xml php, but also supports python and xml.
And for xml, it is convenient to click on keywords to expand or shrink. It was later learned that this feature is called code folding.
Makefile is also supported, which is convenient for viewing makefile files.
And even the syntax highlighting of Tex/LaTex, which is not commonly used by ordinary people, is supported and is very powerful.
For the color displayed when the syntax is highlighted, you can also customize it by clicking:
Settings-> Style Configurator
You can configure different colors according to your needs.
[customize a suffix file other than the default suffix to a certain type of file to achieve syntax highlighting]
And for different types of file suffixes, in addition to the default file suffix, set a custom file suffix, such as I encountered, for ordinary makefile, the default suffix is .mak, and my own .mk file is also a makefile file, so you can set it like this:
Settings-> Style Configurator-> find Makefile in the Language drop-down, select makefile, and the following corner will appear:
Default ext. And the default extension (default extension) of user ext., is the suffix name. Corresponding to. Mak, in user ext. Fill in the corresponding box .mk, and then click the Save&Close on the right, you can achieve notepad++ automatically recognize the .mk file as the makefile file, and then reference the corresponding syntax highlighted.
Of course, if you do not set it, open the .mk type file separately, and notepad++ will not automatically recognize it and have no syntax highlighting, but you can also choose it manually:
Language-> M-> Makefile, you can achieve the same function, but trouble yourself to set it manually every time.
two。 Add a hex editor plug-in to support hexadecimal editing
Notepad++ supports adding HEX-Editor plug-ins to support hexadecimal viewing and editing, which is very convenient.
[add method of Hex Editor plug-in]
First find out whether your own notepad++ is an ANSI or a UNICODE method through the [View current notepad++ version] method above
Then, according to the [notepad++ plug-in add method] above, go to the official website of the Notepad++ plug-in, find and download the corresponding version of HexEditor, and place the plug-in file HexEditor.dll in the npp.5.8.6.bin\ ansi\ plugins folder under the NotePad++ path.
Restart notepad++, and you can see the corresponding Hex-Editor plug-in in Plugins.
It is worth mentioning that the current latest version (5.8.7) also supports the addition of plug-ins, corresponding to add a shortcut icon in the toolbar, for HexEditor, it is an uppercase H icon, click on the icon, you can achieve hexadecimal view, click again, and return to the normal mode, very convenient.
3. Support for column mode editing
After holding down Alt, you will be in column mode, and then, for example, if you select a column, then right-click and select Delete, you can delete those columns, release ALT and leave ALT to return to normal mode. Very easy to use, more and more feel that notepad++ Niu X, all functions support ah.
In the column operation mode, if you insert something in the entire column, you can do this:
Edit-> Column Editor (Alt C)
Then write the content to be inserted in the box corresponding to Text to insert or Number to insert, and notepad++ will automatically insert the corresponding content for the entire column for you.
4. When a word or keyword is selected, notepad++ will automatically highlight the selected keyword, which is very convenient for file viewing.
5. When you open multiple files, the corresponding Tab is displayed. By default, double-clicking Tab cannot close the file like some other tools, but it can be set:
In Settings- > Preference-> General-> Tab Bar, select:
Double Click to close document, and then double-click the tab of the corresponding file to close the file.
Similarly, there is an option: show close button on each tab, when selected, a close button appears on each tab, which is also easy to use.
six. Display the file line number: Settings- > Preference-> General-> Editing- > Select Display Line Number to display the line number
7. Whether to print the line number: Settings- > Preference-> General-> Printing- > whether to select Printing Line Number is not selected by default, if necessary, you can select it, so that you can print the line number when printing, or it is very convenient for users to set it according to their own needs.
8. Whether to back up after editing files: similar to Ultra Editor, .bak files will be generated by default after editing a file. For notepad++, this feature is also supported, but it is turned off by default. If necessary, you can set it here: Settings- > Preference-> General-> Backup/Auto-completion-> default is None, and there are Simple and verbose backup, which can be set according to your needs.
9. Autocomplete function: Settings- > Preference-> General-> Backup/Auto-completion, autocomplete: Auto-Completion, can be set according to your needs, the default is off.
10. Select a text, and then call google search:
Run-> google search
In addition to the google search function, similarly, after selecting the text, call other programs or functions, such as directly calling wiki to query the word / text:
Run-> wikipedia search
Or open the folder where the current file is located directly from notepad++:
Run-> open containing folder
Open the cmd of windows from notepad++, and you are already in the current folder:
Run-> open current dir cmd
Directly take the file as an attachment, and then open the Outlook of Windows to send an email
Run-> send via Outlook
Wait, these are all very practical and easy-to-use functions.
11. Temporarily hide some lines
If you temporarily feel the need to hide certain lines while viewing the file and display them normally when needed, you can select those lines first, and then:
View-> Hide Lines
That's it. Then the column on the left tab will display the corresponding logo, which can be unhidden by clicking.
twelve。 Support for mouse wheel control zooming
Notepad++ not only supports the shortcut key Ctrl+ Num+/Num- to control zoom, but also supports Ctrl+ mouse wheel to control the zoom of the current display content, which is very convenient.
13. Full screen display
Sometimes if you display a document, you want to display more content, and you want to use full-screen display. Through view-> Toogle Full Screen Mode F11 or Post it F12, you can achieve full-screen display, which is also very convenient.
14. Integrated with lightweight resource manager
After installing the plug-in (which seems to be installed by default) LightExplorer:
Plugins-> Light Explorer-> Light Explorer, you can open a lightweight resource manager on the left and open the file you want to open, which is very convenient.
15. Export to other types of files-> to paste color codes
After adding the corresponding NppExport plug-in, you can export to different formats, such as HTML and RTF:
Plugins-> NppExport-> Export to RTF or Export to HTML
HTML is the ordinary HTML,RTF can be understood as a concise version of word, so html and rtf, both support color code / characters, so, this feature can achieve what we need, will have highlighted, color display, shaded code, exported to word or other documents. Such a function is very practical. At least I personally find it very useful, such as opening some C code, exporting it to html, then opening html to copy the content and pasting it into word, which is the color code. Of course, you can also export to rtf, and then itself is compatible with word. Under windows, which is opened by default with word, you don't have to copy and paste from html.
Even, NppExport provides more convenient features:
Plugins-> NppExport-> Copy HTML to clipboard or Copy RTF to clipboard
That is, directly select the content, copy the content to the clipboard, and then you can paste directly in other word files, that is, so simple to achieve color code support, how cool.
16. Code folding
Including the code such as C _ XML +, the code can be folded and expanded as a whole by a single function, and other types, such as CCMG, can be folded and expanded as a whole according to the content contained in the keyword.
17. In Explorer, right-click on the file and you can open it directly with notepad++
This function is similar to UltraEdit, added right-click support in Explorer, right-click on a file, there will be "Edit With Notepad++", you can directly use notepad++ to open the file, I think this function is still very practical.
This is the end of the article on "what are the features worth mentioning in Notepad". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.