安裝:

Preferences -> Package control -> Install Package- Ctags

 

設定:

Preferences -> Ctags->Setting Default ->" 複製"

Preferences -> Ctags->User Default ->" 貼上"

更新CTags執行路徑,例如:

 "command": "D:\\ASolid_PC\\ASolid_SW_Utilty\\ctags58\\ctags.exe"

 

生成:

dir /s /b *.c *.cpp *.h *.hpp > cscope.files

 

重啟Sublime Text

 

 

使用:

Find ->CTags -> Rebulid CTags ->"選擇檔案路徑" 

 

可以開始用show cuts:

 

 

--以下圖示--

 

安裝:

 

 

 

 

 

 

 

 

設定(複製Default  -> Users)

 

 

更新路徑

 

 

使用

 

 

 

alts + s (Show symbols)

 

 

 

ShortCuts of CTags 

 

 

 

Ref:

 

 
arrow
arrow
    全站熱搜

    天才R 發表在 痞客邦 留言(0) 人氣()