Problems encountered during use of source insight

Source: Internet
Author: User
Tags ultraedit

1. Let the software identify non-standard files (for example, *. Log)

Edit the file type and add the suffix of the file to be identified (for example, *. Log)

2. In the form of a file list, display by directory structure

Enter "." in the search box and press Enter. If you want to return to the form without a directory structure, you only need to enter two asterisks "**" in the search box, and then press Enter.

3. garbled Chinese characters (UTF-8 encoding cannot be recognized)

Method 1: Open the original file in notepad and save it as ASCII code (the WordPad and source insight are garbled, but notepad is normal [but there is no automatic line feed], copy the notebook to the WordPad and save it)

Method 2: http://blog.sina.com.cn/s/blog_56e19a4301011xiv.html

Solution (verified ):

1. In ultraedit, select "file"> "Conversion"> "Unicode to ASCII (O)"

2. In ultraedit, select File> Save"
Or press
F12

3. Enter the file name in the pop-up dialog box,Note that
Select the default format

4. Click
Save button

 

4. Custom shortcut keys

Set according to your preferences.

[Http://blog.csdn.net/benkaoya/article/details/8296197]

[Http://blog.csdn.net/moonvs2010/article/details/8021949]

[Http://blog.sina.com.cn/s/blog_51047ef70100ifuj.html]

[Http://blog.chinaunix.net/uid-23215128-id-2892873.html]

 

For more information, see [http://kernel.blog.51cto.com/920538/214.pdf]

1. Only half of Chinese characters can be deleted

Indeed, when source insight deletes Chinese characters, it deletes half of the Chinese characters. If it deletes half of the Chinese characters, it is garbled and annoying to write comments. Finally, it finds a macro on the Internet, when you press the return key, this problem can be basically solved. This macro is included in the attachment. The usage files are described as follows:

* Installation:

* ① Copy the file to the sourceinsight installation directory;

* ② Project → open project: Open the base project;

* ③ Add the copied superbackspace. Em to the base project;

* ④ Restart sourceinsight;

* ⑤ Options → key assignments, bind MARCO: superbackspace to the backspace key;

* ⑥ Enjoy !!

2. Solve the problem that GDI ++ cannot display Chinese characters normally

Due to the installation of the GDI ++ helium version, I don't know why Chinese Characters in source insight cannot be rendered normally. I use the consolas font, at first, I thought that we only needed to create a font link in the GDI ++ configuration. Unfortunately, it was not successful. Online experts say changing the font to "" can solve the problem, but I still cannot try it. Try the last font, and finally confirm that the "" can be displayed normally.

3. Code formatting

The programming style is not flattering because it is the code of others, and the editing format is also messy. Really want to find a tool to format all the code, there is such a good stuff: astyle, specific parameters can refer to its instructions. I used:

C: \ astyle \ bin \ astyle.exe -- style = ANSI-S4-S-N-l-M0-M40-u -- convert-Tabs -- suffix =. Pre % F

You can install this external command in source insight as follows:

Click option → commandm commands, click Add on the right, and enter a name such as format with astyle as prompted. In run, enter the command line.

Finally, you can bind a shortcut key in option → key assignments, as shown in:

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.