最经典的Source_Insight完整使用教程

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Source_InsightLinuxLinuxwindowsLinuxLinuxvimemacsvimemacsctagetaglinuxvimemacsLinuxwindowWindowWindowsLinuxSourceInsight3.0WindowsSourceInsightWindowsLinuxWindowslinux/usr/srcWindowsWindowsSourceInsightSourceInsight11SourceInsightSourceInsightjava,c,c++ProjectNewProjectRemove,22OKFileNameAddAddAllAddTreeAddAllAddTreeAddAllAddTreeAddTreeLinux2.434LinuxProject4521142.cLinuxProjectJumpReferenceReferenceSourceInsight6Reference6LinuxReference6ReferenceSourceInsight:,30Linux!SourceInsight2008/05/1916:44[]1tab1OptionsPreferencesTypingTypingtabindentslineregardlessofselectiontabTypingtabreplacescurrentselectiontab2OptionsDocumentOptionscEditingOptionstabwidth=2EditingOptionsExpandtabstab23OptionsDocumentOptionsAutoIndentSmartIndentOpenBraceIndentCloseBraceSISHELPOKAutoIndentSMARTC,,IF,WHILE,SWITCH,IndentOpenBraceIndentCloseBrace,},{IndentOpenBrace2SISPROJECTADDTREETREE.inc.asm.sSIS.sDOSEDIT??Options-DocumentOptionsDocumentTypex86AsmSourceFileFilefilter*.asm*.inc*.sCLOSE*.sADDTREEPROJECT3OptionsPreferencesTypingAutoCompletionUseautomaticsymbolcompletionwindowSISOptionsDocumentOptionsEditingOptionsAllowauto-completeAutoCompletion4+-*/OptionsKeyassignmentsScrollScrollHalfPageUp/ScrollScrollHalfPageDown*FunctionFunctionUp-FunctionFunctiondown+5ctrl+asavesaveallctrl+shift+aselectselectallctrl+a6SISVERDANAVERDANAVERDANAllllllllllMMMMMMMMMM10.VERDANADOSsysfixedCourierNewSourceInsight1SourceLinkSourceLinkFile,thenlineLine,thenfileErrord:tcsrcq5.c18:LvaluerequiredinfunctionjsSortSourceInsightSourceLinkd:tcsrcq5.c181.1SourceLinkSearchParseSourceLinksOKSISSourceLink1.2SourceLinkParseSourceLinksSourceLink1.3SourceLinkCustomCommandParseLinksinOutputSourceInsightSISSourceLinklink2ReplaceVSContext-SensitiveSmartRename2.1Replacectrl+HSearchSelectionctrl+HWholeFileFiles2.2Context-SensitiveSmartRenameSmartRenameCtrl+'SourceInsightsearchindexSmartRenameSearchResultsSourceLinkSmartRenamesymbolSmartReferenceMatchingSmartRenameSmartRenameNameSourceInsightOldName+DocDraw.paintStrucDocDrawpaintStrucNewNamearchResultsSearchResultsWindowsctrl+tabSourceLinkConfirmEachReplacementSkipCommentsSmartRenameSmartReferenceMatchingOldNameSmartReferenceMatching3SourceInsight3.1SourceInsightSourceInsightTable4.3:RegularExpressionCharactersCharacterMatches^(atthebeginning)beginningofline^HelloHello.anysinglecharacter[abc]anysinglecharacterthatbelongstothesetabc[^abc]anysinglecharacterthatdoesnotbelongtothesetabc*zeroormoreoccurrencesoftheprecedingcharacter+atabcharactersaspacecharacterwwhitespace(ataboraspacecharacter)$theendofthelineTRUE$TRUE\()Group#nn=1,2,abc(xyz)abcxyzxyzgroup#121(abc)(xyz)xyzabc3.2tctcd:tctcd:tcsrcqn.cqtn.cn=1,2,TcErrord:tcsrcq5.c18:LvaluerequiredinfunctionjsSortd:tcsrcq5.c18SourceInsightd:tcsrcq5.c18([1-9][0-9]*)s([1-9][0-9]*)(d:tcsrc[qQ][tT][1-9][0-9]*.[cC])(d:tcsrc[qQ][tT]*[1-9][0-9]*.[cC])s([1-9][0-9]*)3.3javacJAVA_HOMEc:jdkjavad:javasrcqn.javaqtn.javan=1,2,JDKD:javasrcQ3.java:3:';'expected([dD]:javasrc[qQ][tT]*[1-9][0-9]*.java):([1-9][0-9]*)4SISSISSourceLinkSortOptionsCustomCommandAddCommandsRunDirOutputCaptureOutputPasteOutputControlGroupSaveFilesFirstSISControlGroupPauseWhenDoneSISSourceLinksinOutputParseSourceLinks?/psourceinsight::,,.:1.Project-OpenProject...Base(\SourceInsight\Projects\Base);2.Project-AddandRemoveProjectFiles...(Gaoke.em);3.Options-MenuAssignmentsMenuAssignments,CommandMacro,,./**//*t357.em-asmallcollectionofusefuleditingmacros*//*******************************************************************************InsFileHeader--inserttheinformationoffile**modificationhistory*--------------------*01a,23mar2003,addedDESCRIPTIONbyt357*01a,05mar2003,t357written*--------------------******************************************************************************//*-------------------------------------------------------------------------INSERTHEADERInsertsacommentheaderblockatthetopofthecurrentfunction.Thisactuallyworksfont-size:12px;Tousethis,defineanenvironmentvariableszMyNameandsetittoyouremailname.eg.setszMyName=raygr-------------------------------------------------------------------------*/macroInsFileHeader(){/*#########################################################################################################################SetszMyNamevariabletoyourname###############forexampleszMyName=t357##########################################################################################################################*/szMyName=//GetcurrenttimeszTime=GetSysTime(1)Day=szTime.DayMonth=szTime.MonthYear=szTime.Yearif(Day10)szDay=0@Day@elseszDay=DayszMonth=NumToName(Month)hBuf=GetCurrentBuf()szpathName=GetBufName(hBuf)szfileName=GetFileName(szpathName)nlength=StrLen(szfileName)szInf=Ask(Entertheinformationoffile:)szDescription=Ask(Enterthedescriptionoffile:)hbuf=GetCurrentBuf()//beginassemblingthetitlestringInsBufLine(hbuf,0,/******************************************************************************)InsBufLine(hbuf,1,*@szfileName@-@szInf@)InsBufLine(hbuf

1 / 49
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功