An extension that provides
CTags Support
in Visual Studio Code!
ext install ctags-support
You have to install CTags and generate the .tags file before you use this extension. Run the CTags command under the your project folder.
ctags -R -f .tags
Select the words in the vscode and the press cmd+t
(ctrl+t
)
Press cmd+shift+t
(ctrl+shift+t
)
Press f1
and input Ctags Support: clear all navigation history
Press f1
and input Ctags Support: clear one navigation history
, then choose the one you would like to delete
You can also set custom shortcuts in keybindings.json
via Code => Preferences => Keyboard Shortcuts
For example:
Navigate to Defination
[
{ "key": "cmd+t",//set to your favorite shortcut
"command": "extension.searchCTags",
"when": "editorTextFocus" }
]
See Navigation History
[
{ "key": "cmd+shift+t",//set to your favorite shortcut
"command": "extension.showNavigationHistory",
"when": "editorTextFocus" }
]
Clear All Navigation History
[
{ "key": "set to your favorite shortcut",//set to your favorite shortcut
"command": "extension.clearAllNavigationHistory",
"when": "editorTextFocus" }
]
Clear One Navigation History
[
{ "key": "set to your favorite shortcut",//set to your favorite shortcut
"command": "extension.clearOneNavigationHistory",
"when": "editorTextFocus" }
]
Please submit issues to ctags-support
Enjoy!