当前位置:网站首页>Some tips for using source insight (solve the problem of selecting all)

Some tips for using source insight (solve the problem of selecting all)

2022-07-05 07:54:00 Soy sauce;

1. Bracket pairs highlight :
“ To the left of the front bracket , Left side of back bracket ” Double click the left mouse button , You can choose to match the brackets and their contents (<>,(),L{R},[] Between )

2. Give Way { and } Don't indent :
Options -> Document Options -> Auto Indenting -> Auto Indent Type choose Simple

also : Give Way { and } Don't indent : options->document options->auto indent Get rid of indent Open Brace and Indent Close Brace. ( So bad , Parentheses can't be matched and aligned !)

3. Add file type
Users can define their own types ,Options->Document Options->add type, Define the file type name and the file name suffix .
Check include when adding to projects In the add directory file to the project is this kind of file will be added to SI The engineering of .
If you need to add all files to SI The engineering of , You can define a file type *.*.

Such as :

.java;.jav;.xml;.json,.gradle,.bat,.pro,.mk,.aidl,.so, .jpg,.png,.svg,.webp,.html,.htm,.properties,.jar,.aar,.bin,*.

4. recovery ctrl+a All options for
Options -> Key Assignments: Through the key words save find save all, Change to ctrl+shift+a, Through the key words select find select all, Change to ctrl +a

5. Set background color :
Options->preference->color->windows background Set background color ( Eye protection :85,90,205)

6. There are different sizes of characters :
Method 1: Choose "view --> draft view", You can make the width of each character the same . Shortcut keys are “Alt + F12”

Method 2: Solve the problem that the Chinese annotation font spacing is too large :

(1).Options->Style Properties
(2). On the left Style Name Find below Comment Multi Line and Comment. To the right of it corresponds to Font Under the property box Font Name Middle selection “Pick…” Set to Tahoma 、 routine 、 Little four . determine , return Style Properties Interface ,Size Set to 10. The last set Clolors Under frame Foreground, spot “Pick…” Choose a color you like OK 了

notes : The above methods 1 For general settings , Method 2 You can set the annotation font and font size in !

7. The problem of half Chinese characters when deleting notes ( Delete a Chinese character , There is no Chinese character , But there will be an extra question mark ?)

Method :

① take SuperBackspace.em Copied to the Source Insight The installation directory ;
② Project→Open Project, open Base project ;
③ Will duplicate the past SuperBackspace.em Add in Base project ;
④ restart SourceInsight;
⑤ Options→Key Assignments, take Macro: SuperBackspace Bound to the BackSpace key ;
⑥ Enjoy!!

SuperBackspace.em The source code of is at the end of the blog , Copy and save as SuperBackspace.em that will do , Or you can download it directly here :http://pan.baidu.com/share/link?shareid=101784&uk=3204866771

8. Practical shortcut keys :
Shift+F8 : Highlight the selected word
“ctrl + g” or “F5” : Jump to the specified line
“Ctrl+=” or Ctrl+ Click on the logo : Go directly to the logo definition and call use
Ctrl+F : Find in this document
F7 : open Browse Project Symbols window , Quickly browse the project logo definition
F3 : Last... Of the results found in this document
F4 : Next... Of the results found in this document
Ctrl+M : Create or find Bookmarks , It's convenient to find this position next time

9. solve TAB Key indentation problem
Options-> Document Options In the lower right corner Editing Options In the fence , hold Expand tabs Hook it up , Then determine .OK, Now? TAB The indent of the key and the indent of four spaces are in SIS It looks like it's aligned inside
(Linux Next TAB yes 8 Space length , This setting allows TAB and 4 Spaces are consistent !)

10.SIS The problem of Chinese random code

source insight The solution to the problem of Chinese annotation garbled - ccf19881030 The column - Blog channel - CSDN.NET
http://blog.csdn.net/ccf19881030/article/details/8987759

原网站

版权声明
本文为[Soy sauce;]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140548510715.html