source insight 头文件与源文件切换
source insight :3.50.0072 1、打开source insight,Project -> Open Project,browse (C:\Users\think\Documents\Source Insight\Projects\Base 2、打开Utils.em文件,在该文件的末尾加入如下内容: //http://blog.csdn.net/tankles/article/details/7269823 macro SwitchCppAndHpp() { hwnd = GetCurrentWnd() hCurOpenBuf = GetCurrentBuf() if (hCurOpenBuf == 0)// empty buffer stop // 文件类型临时缓冲区 strFileExt = NewBuf("strFileExtBuf") ClearBuf(strFileExt) // 头文件 index_hpp_begin = 0 // 头文件开始索引 AppendBufLine(strFileExt, ".h") AppendBufLine(strFileExt, ".hpp") AppendBufLine(strFileExt, ".hxx") index_hpp_end = GetBufLineCount(strFileExt) // 头文件结束索引