Ise's development environment is not as friendly as Vs and does not provide automatic indentation. It is especially complicated to press spaces each time and the code is not neat enough. One way to solve this problem is to use Notepad ++ to edit the code. The specific settings are as follows:
Install notepad ++ on the d disk and download the plug-in quicktext. The version is v0.2.1. After decompression, there are 6 files, as long as two of them are used,
Copy quicktext. Uni. DLL to the D:/program files/notepad ++/Plugins directory,
Copy quicktext. ini to the D:/program files/notepad ++/plugins/config directory.
Then you can set the shortcut key for quicktext. In the plug-in-quicktext-options on the notepad ++ interface, find your own language settings. In this example, we can see that there is no pre-defined shortcut label on the right side of the page, so let's define it according to your writing habits. For example, the most commonly used is the begin end group. The tag name defines the name of the tag, such as B and substitution text,
Begin
$
End
$ Is the cursor position
In the plug-in-quicktext-replace tag on the notepad ++ interface, you can view the shortcut key of quicktext. tab is displayed. When writing the plug-in, B is checked in and out, and then press the tab key to automatically complete the defined content. Here, you can also set the shortcut keys for quicktext, set-manage shortcut keys, and set them according to your habits.
How can I call notepad ++ in Ise?
ISE -- edit -- preferences -- ise General -- editors label. Select custom as the editor, and enter the notepad ++ path/notepad1_cmd.exe/SPACE/$1 on the right. Note the following:
If there is no space in the path, you can directly write it like this, as shown in figure
C:/Windows/wordpad.exe $1
If there are spaces in the path, use the following three methods:
Enclosed by {}, as shown in figure
{C:/program files/Windows NT/accessories/wordpad.exe} $1
Enclosed by "", such
"C: // program files // Windows NT // accessories // wordpad.exe" $1
Use "" to enclose, replace/with/, as shown in figure
"C:/program files/Windows NT/accessories/wordpad.exe" $1