Professional Documents
Culture Documents
SI
Options/Document Options Font Options Screen Fonts
SI Verdana
CourierNew Courier
( ) xxx Window Properties
Back Color SI
Special Window Color
while (1)
{
I
}
while (1)
{
I
}
SI
F5
Shift+F8
Ctrl+
Ctrl+F
F3
F4
F7
Browse Project Symbols
Ctrl+M
SI Marco ()
( Marco )
-
SI
1. Loopup References
Search/Lookup References Ctrl+/ R
Loopup References Search Method
Simple StringRegular Expression Keyword Expression Look Up Reference Simple
String _upap || u
Regular Expression
Keyword Expression Look Up Reference
SI
2. Search Files
Search/Search Files Ctrl+Shift+F Search Files
File Name Options
Include Subdirectiories
3. Search Project
Search/Search Project Search Project Loopup
References
1.
Search/Replace Ctrl+H Replace Search
Selection Confirm Replacements
2.
Search/Replace Files Ctrl+Shift+H Replace Files
New () Search Files
SI Alt
Smart Rename
Smart Rename Ctrl+' Smart Rename
Renumber
Ctrl+R Renumber
array[0] = 1;
array[1] = 2;
array[2] = 3;
array[0]
array[1]
array[2]
array[3]
=
=
=
=
0;
1;
2;
3;
array[0] = 1; array[0] = 0;
Renumber 0
Edit Condition
#ifdef DEV1
/* DEV1 */
#else
/* */
#endif
DEV1 Edit Condition
Conditional Parsing DEV1 True #ifdef DEV1 #if 1
#else Flase #ifdef DEV1
-
1-SI
SI
Character
Matches
^ ()
.
[abc]
abc
[^abc]
abc
/t
tab
/s
/w
( tab )
/(/)
^/(.*/)/(//*/)/(.*mytrace.*/)/(/*//)___FCKpd___6nbsp;==> /1/3
^/(.*/)/(mytrace/)/(.*/)___FCKpd___7nbsp;==> /1/*/2/3*/
2-SI
SI
( SI )
utils.em
, ()
1. Project/Open Project...
Base ("/Source Insight/Projects/Base")
2. Project/Add and Remove Project Files...
( utils.em)
3. Options/Menu Assignments
Menu Assignments Command Macro.
InsFileHeaderInsFunHeaderInsHeaderDefInsIfdef AutoExpand (
) AutoExpand switch switch
switch (###)
{
case
break;
default:
}
InsFunHeader
int nOpenConfigFile(char *pchMemConfig, char *pchFlashConfig,
int nSize, int nMode)
{
I
}
/******************************************************************************
* nOpenConfigFile * DESCRIPTION:*
* Input: N/A
* Output: N/A
* Returns: N/A
*
* modification history
* -------------------* 1.00, Apr 19, 2007, T357 written.
* -------------------******************************************************************************/
T357 utils.em
3-
Footnotes:
qiupingwu@gmail.com2
3 4
1
5
#error #warning 6
--------------------------------------------------------http://blog.csdn.net/flyyanqu/archive/2008/03/27/2222799.aspx
1 tab
1Options PreferencesTyping
Typing tab indents lineregardless of selection tab
Typing tab replaces current selection tab
2Options Document Options
c Editing Options tab width=2 Editing Options Expand tabs
tab 2
3Options Document Options Auto Indent
Smart Indent Open Brace Indent Close Brace
SIS HELP OK
Auto Indent SMART C , , IF, WHILE, SWITCH ,
3
Options Preferences Typing Auto Completion Use automatic symbol completion
window SIS
Options Document OptionsEditing Options Allow auto-complete
Auto Completion
4 +-*/
Options Key assignments Scroll Scroll Half Page Up/
Scroll Scroll Half Page Down * Function Function Up-
Function Function down+
5 ctrl+a
save save all ctrl+shift+a select select all ctrl +a
6
SIS VERDANA VERDANA VERDANA
llllllllll
MMMMMMMMMM
10 . VERDANA
DOS sysfixed
Courier New
SourceInsight
1 Source Link
SourceLink
File, then lineLine, then file
Error d:tcsrcq5.c 18: Lvalue required in function
jsSort SourceInsight SourceLink d:tcsrcq5.c
18
1.1 SourceLink
Smart Rename
Old Name
Source Insight
Old Name
+DocDraw.paintStruc
DocDraw paintStruc
New Name
Output Search Results Search
Results
Windows ctrl+tab
SourceLink
Confirm Each Replacement
Skip Comments
Smart Rename
Smart Reference Matching Old Name
Smart Reference Matching
3 SourceInsight
3.1 SourceInsight
SourceInsight
Table 4.3: Regular Expression Characters
Character
Matches
only)
.
[abc]
[^abc]
a tab character
a space character
( ) Group #nn=1,2,
(d:tcsrc[qQ][tT]*[1-9][0-9]*.[cC])s([1-9][0-9]*)
3.3 javac
JAVA_HOME c:jdk java d:javasrc qn.java qtn.java n=1,2,
JDK
D:javasrcQ3.java:3: ';' expected
([dD]:javasrc[qQ][tT]*[1-9][0-9]*.java):([1-9][0-9]*)
SIS
SIS
SourceLink Sort
:http://blog.csdn.net/Jupin/archive/2005/02/04/281020.aspx
:
, ,
.
:
1. Project->Open Project... Base ("/Source Insight/Projects/Base");
2. Project->Add and Remove Project Files... ( Gaoke.em);
3. Options->Menu Assignments Menu Assignments , Command Macro,
, .
/**/
------------------------------------------------------http://www.cnblogs.com/walzer/archive/2006/02/05/325587.html
1. SMART TAB . .
PROJECT Options->Document Options
Document Type C Source File C++ Source File Auto Indent
Smart Indent Open Brace Indent Close Brace
SIS HELP OK.
Auto Indent SMART : C , , IF, WHILE, SWITCH ,
.
indent Open Brace Indent Close Brace : , "{""}",
2. TAB 4 SPACE
TAB SIS Tab
Width=4, TAB
Col=5 SIS PB SIS
PB Options->Document Options Editing
Options Expand tabs OK TAB SIS
expend tab expend shrink