notepad++ Usage Experience

Source: Internet
Author: User

1, skillfully use notepad++ automatic complement function

menu → settings → preferences → backup and autocomplete

Where: automatic completion of the function will prompt the completion of the various language keywords; Word autocomplete is also good to prompt you in the context of the words used, more intelligent; personal prefer to turn on function AutoComplete (memory difference), with CTRL + Enter shortcut keys (shortcut keys can be modified) temporarily switch to the word auto-complete, with or feel very good, is sometimes put the editor to die, do not know is not my machine problem.

2, extension notepad++ original complement keyword

notepad++ still have a number of keywords do not prompt, there is also a remedy, open the root directory of your installation software "Plugins\apis" has various languages of the XML file. Yes, it is possible to modify these files to reach the scope of the extended auto-completion. For example Inline-block this CSS property value, notepad++ Original is no hint, then you can now open Css.xml file to add a line, note that the location of the add to the collation, otherwise it will not reach the effect, the final effect as shown in the figure below.

3, with a powerful plug-in

notepad++ has a plug-in manager built in, so installing plugins is a lot easier. List some of the plugins you normally use:

(1) Zen coding is very famous, many editors have its figure, HTML CSS to improve the efficiency of a lot of, easy to learn, his usual use of his HTML is necessary to write CSS, not much to use.

1. Download zen-coding notepad++ plugin (zen-coding for notepad++)
2. After decompression, put the files in the compressed package into the Plugins folder in the notepad++ installation directory;
3. Restart the notepad++ editor to see a Zen Coding added to the menu bar.

Open the Notepad++ editor and enter the following code:
Div#name

Then press the shortcut key ctrl+e, and it will automatically generate HTML code Zend coding Syntax

1.E | E#name | E.name here E represents elements, such as P,div. #name和. Name indicates ID and class attributes, respectively

2.e>e | E#name>e#name | E. #name >e.name | E.name>e.name > indicates parent nested child level

3.e+e | E#name+e#name | E. #name +e.name | E.name+e.name + number denotes Brotherhood

e+ (+ number indicates that the default child element is generated)

4.e*n N: Indicates the number of times an element needs to be duplicated

5.e*n$ $: Indicates ordinal

6.e[attr] attr: Represents an Element property

7.e|filter |e output escape character

8. () control nested grouping relationships

(2) QuickText Official plugin Manager does not seem to be included, but the feeling is very good, pretty useful code Snippets management plug-in. Like it can intelligently judge the currently selected language, have selected to do code completion. The default auto-completion of the shortcut key is the tag key, enter if after pressing the tag, you can automatically complete the if () {}

1. Click to download the notepad++ plugin style package I provided and unzip it
2. Copy QuickText.dll to the Plugins folder in the notepad++ installation directory

3. Copy the Quicktext.ini to notepad++ under the installation root directory
4. Copy stylers.xml file, XP user to C:\Documents and Settings\ username \application Data\notepad++\ Win7 user to C:\Users\ user name \appdata\ Roaming\notepad++\ directory Backup and replace the original Stylers.xml file
5. Open notepad++, select Settings-Manage shortcut in the menu-select Word Auto-complete in main menu-double click the Shift option in the pop-up window to complete the change
6. In the notepad++ menu, select Plug-in-quicktext, the default repalce tag shortcut key is Ctrl+enter
7. Click the options option in the plugin-quicktext to enter the QuickText option Settings window
8. Open notepad++, set the current document language to HTML in the Language menu, enter the DTD, and press the Ctrl+enter shortcut key to test

4. Attach some small discoveries

(1) menu → View →project seems to be engineering management

(2) menu → view →documentmap file thumbnail

(3) menu → edit →clipboard history clipboard historical record


As pictured,

Point folder icon to the left to display the folder workspace,

Dot Line wrap icon Wrap

Show document thumbnails to the right of the point Document Map

Point function List icon to the right shows the list of current file functions


5, the use of folder workspace, you need to set the first item, and other file automatic update check, so that the external file changes after the automatic update in the editor;


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.