sublime 3 ctage 函式跳轉
1、點選 Preferences > Package Control
2、安裝 Package Control: Install Package
(
沒有錯誤提示請勿略
如果安裝錯誤 提示 there are no packages available for installation
hosts 新增 50.116.33.29 sublime.wbond.net.
下載:https://github.com/wbond/package_control 解壓 改名為 package control
替換 :Sublime Text3\Data\Packages\package control
Package Control: Install Package
)
3、等待頁面載入 載入 成功後 輸入 ctags 安裝
5、開啟選單在Preferences選單中開啟Package settings->ctags->settings-user和settings-default
把default中的配置全部複製到user中,然後改一下command配置項
“command”: “D:/dev_software/Sublime Text3/ctags.exe”,
6、開啟preferences->PackageSettings->ctags->MouseBinding_default,複製其中的程式碼到MouseBinding_User中
[
{
“button”: “button2”,
“count”: 1,
“modifiers”: [“ctrl”],
“command”: “jump_back”
},
{
“button”: “button1”,
“count”: 1,
“modifiers”: [“ctrl”],
“press_command”: “drag_select”,
“command”: “goto_definition”
}
]
7、在專案根目錄 右鍵 ctags:rebuild ctags