先install package ctags
然后去http://prdownloads.sourceforge.net/ctags/ctags58.zip下载
ctags58.zip解压到D盘根目录
在ctags settings-user 添加{"command": "D:/ctags58/ctags.exe",}
安装好了。
右键项目ctags rebuild tag 点击函数右键navigete to definition 即可
Commands Listing
Command | Key Binding | Alt Binding | Mouse Binding |
---|---|---|---|
rebuild_ctags | ctrl+t, ctrl+r | ||
navigate_to_definition | ctrl+t, ctrl+t | ctrl+> | ctrl+shift+left_click |
jump_prev | ctrl+t, ctrl+b | ctrl+< | ctrl+shift+right_click |
show_symbols | alt+s | ||
show_symbols (all files) | alt+shift+s | ||
show_symbols (suffix) | ctrl+alt+shift+s |