EditPlus template file notes

  
We know that using the shortcut key "Ctrl + Shift + N" can quickly create an html page, and this can quickly create a html template, located in the EditPlus directory, the file name is "templatex. Html”. You can achieve this by customizing this template file to personalize your html page. Easy sidebar If you don't see the sidebar, you can use the shortcut (Alt + Shift + 1). The sidebar contains the "Quick Directory Path" and "Quick Clipboard" functions. "Quick directory path" is not to say, focus on the "fast clipboard" function. In fact, it is a place, this place can store some code fragments, commonly used texts and so on. When you need these words, just double click, you can easily add to the cursor position. By default there will be some html, css code, but, to be honest, I don't use those things very often, so many, find them exhausted. Therefore, I like to build a library that I use most often, because it is built by myself, so it will be easier to use. You can create your own "Clipboard" library file in this way. Right click on the drop-down list box on the Cliptext sidebar → New → Fill in the file name and display title → Right click on the newly created blank sidebar → New → Fill in the display text and code. About the "Clipboard" library file to say two more words: 1: In the EditPlus zip file I provided, the "Clipboard" library file is stored in the folder under the unpacked directory "\\yzyFile\\CliptextLibrary". 2: You can quickly create your own common code base by directly editing and unpacking the “Clipboard” file under the “\\yzyFile\\CliptextLibrary” folder (use EditPlus to open it, format view) I will understand it. After editing, I need to re-&Requo;Reload” or restart it to refresh it.) 3: The sidebar can be placed on the left or on the right. The setting method is: right click on the sidebar → select left or right in the [Location] menu. The gorgeous auto-complete feature is arguably the favorite feature. Imagine, as a person who often makes web pages, when you type a & quoquo; ua & rdquo; word, then press the space, the right side of the code appears in the editor, and the mouse stays in the double quotes of the first href between. What a pleasant thing. This is the AutoComplete feature of EditPlus, and the use of EditPlus's auto-completion feature will greatly increase your productivity. And we can create different "auto-complete" according to different file types, for example, if it is an xhtml file, hit "<;b”+space", that is, in the css file, “b”+ space ”, is "border:1px solid red;". Very human. You can use the AutoComplete feature of EditPlus with this setting. [Tools] → [Preperences] → [Files] → [Settings & syntax] → Set the file type in [File types], then select the auto-complete file in [Auto completion] (if you I am using the EditPlus zip file, please note the path to the autocomplete file here.) Auto-completion of the file we can edit it yourself, here I give a simple example, expand the following code, this is the file content of my css file auto-complete, take the line 11 "ld"; #T=bor” for example, it This means that if you type bor and then press a space, insert "ldorder:1px solid red;" in the cursor position. &cquo;; rds automatically complete the example, click on the front + sign to expand the code. About "Auto-Complete" file two sentences: 1: In the EditPlus zip file I provided, "auto-complete" file is stored in the folder under the unzipped directory \\yzyFile\\AutoCompletion” 2: You can quickly create your own EditPlus auto-complete file by directly editing and unpacking the EditPlus auto-complete file under the folder “\\yzyFile\\AutoCompletion”.

Figure: "Automatically complete" & "highlighting grammar" setting dialog color files, highlighting grammar files
Many development tools have syntax highlighting, EditPlus is small, but There is also this feature. The setting method can be seen in Figure 5. As with the "Auto-Complete" function, just specify the "Highlighting Syntax" file for different file types. Commonly used file types such as css and html, EditPlus already comes with a highlight grammar file. If you don't have the highlighted grammar file you need, you can go to the EditPlus official website's file download channel to see, friends from all over the world, contributed a lot of highlight grammar files of different file types. It can be easily downloaded for free. EditPlus SQL Highlighting Syntax File EditPlus C++ Highlighting Grammar File EditPlus C# Highlighting Grammar File EditPlus Java Highlighting Grammar File EditPlus PHP Highlighting Grammar File EditPlus CSS HTML Highlighting Grammar File EditPlus Finding (Replacing) in Regular Expression EditPlus Features that support regular expressions. Using regular expressions can greatly increase the strength of the lookup (replacement). Because the regular expression is not a sentence, and it deviates from the subject of this article, so here are just a few common examples. Interested in this can refer to the regular expression data, or in the EditPlus help "Regular Expression" keyword search index. Use the regular expression to find (replace) the method shown above, select the checkbox in the Find (Replace) dialog box, "Regular Expression". Click on the "Replace" text box to "reverse triangle" to select common regular expressions. Regular expression instance requirements description Regular expressions are written to replace the specified content (with abc as an example) to the end of the line abc.* “.” means match any character; “*” means match 0 times or more to all The number plus quotes lookup [0-9] is replaced with "\\0" \\0 to indicate that the regular expression matches the object to delete the blank line lookup \ \ replace with \ replace the consecutive 2 newline characters with one The newline rectangle selection, seeing the word, seems to say that the image processing tool, in fact, not, whether it is VS or EditPlus, in fact, support rectangular selection. This has some special effects for dealing with the form of removing the front-end line number of the article. The selection of the entire area of ​​the rectangle is to hold down the Alt key and then use the mouse to draw a rectangular selection (as shown in Figure 7). It should be noted that in the case of "auto wrap", it is not possible to use "rectangular selection". You can use Ctrl+Shift +W to toggle between "auto wrap" or "not wrap" view. Improve work efficiency, use EditPlus shortcuts. If you come to your company interview programmer, even Ctrl + C and Ctrl + V do not use, but use “ select text & rdquo; → right mouse button → [copy], and then Right mouse button → [paste]. Will you hire him? (You still don't laugh, we used to interview one of these companies, the so-called "masters who are proficient in asp.net"). Therefore, the skillful use of the software shortcuts not only greatly improves the work efficiency, but also shows the ability of one person to use the software from one side. EditPlus also has a lot of shortcuts. Here are some of the shortcuts that I often use for EditPlus (the common shortcuts like Ctrl + C and Ctrl + H are not introduced), just to name a few. For more details, please refer to the EditPlus shortcut in the browser mode to preview the file Ctrl + B to start editing “ preview the file in browser mode & rdquo; Ctrl + E new html file Ctrl + Shift + N new browser window (similar to EditPlus Open ie) Ctrl+Shift+B selected letters switch to lowercase Ctrl+L Selected letters Switch to uppercase Ctrl+U Selected phrase initials Ctrl+Shift+U Copy selected text and append to clipboard Ctrl+ Shift+C cuts the selected text and appends it to the clipboard Ctrl+Shift+X to create a copy of the current line Ctrl+J copies a character from the previous line to the current line Ctrl+-cuts the selected text and appends it to the clipboard Ctrl +Shift+X merges the selected line Ctrl+Shift+J to reverse the case of the selected text Ctrl+K Start/End Select area Alt+Shift+B Select the current line Ctrl+R Full screen mode On/Off Ctrl+K display or Hide ruler Alt+Shift+R Show or hide tabs and spaces Alt+Shift+IShow function list Ctrl+F11 Go to the specified line of the current document Ctrl + G Set or clear the current line of markers F9 Go to the next marker position F4 goes to the previous marker position Shift+F4 In addition to all the tags in the current document Ctrl+Shift+F9 search for a pair of matching brackets Ctrl+] Search for a pair of matching brackets and select the text Ctrl+Shift+] to switch the current document's word wrap function Ctrl+Shift+WEdit the current HTML page Source file Ctrl+E

Copyright © Windows knowledge All Rights Reserved