how to use ctags in vs code

  1. install ctags extension for vs code
    在这里插入图片描述
  2. run ctags -R -f .tags in you project folder
  3. start vs code for your folder, and use ctr+t to just to tags
    Please pay attention: there may have a bug for ctags support:
    If there have multi-root for the workspace, only the first project’s ctrl+t can works.
发布了420 篇原创文章 · 获赞 29 · 访问量 94万+

猜你喜欢

转载自blog.csdn.net/lantianjialiang/article/details/103294483