Skip to content

An extension that provides CTags Support in Visual Studio Code!

Notifications You must be signed in to change notification settings

jaydenlin/ctags-support

Repository files navigation

An extension that provides CTags Support in Visual Studio Code!

ext install ctags-support

Additional Setup

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

Keybinding

1. Navigate to Defination

Select the words in the vscode and the press cmd+t (ctrl+t)
IDE

2. See Navigation History

Press cmd+shift+t (ctrl+shift+t)
IDE

Other Features

1. Clear All Navigation History

Press f1 and input Ctags Support: clear all navigation history
IDE

2. Clear One Navigation History

Press f1 and input Ctags Support: clear one navigation history, then choose the one you would like to delete
IDE

Custom Keybinding

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" }
]

Issues

Please submit issues to ctags-support

Enjoy!

About

An extension that provides CTags Support in Visual Studio Code!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published