Sublime Forum

Install ctgas with external tag file

#1

this is a clone of this question: stackoverflow.com/questions/9492 … blime-text

i’ve just download sublime text 2 beta 2182 under ubuntu 10.10 with Exuberant Ctags 5.8
i want to use it for c++ coding and i need some auto completition and code navigation. (i was used to eclipse with cdt)
i googled and i found ctags a cool tool that can do it, and there is a plugin support for sublime text here.
the problem is that i want create tag file from:

  • c++ standard lib (std::vector std::map etc)
  • all classes of the framework i’m using.
    point 1 is (i think) the same of point 2 i just only have to create a tag list of std lib in my /usr/include/c++/4.4.5/
    so i’ve downloaded the plugin and installed it, i made a taglist in this way:

$ cd /absolute_path_of_my_cpp_framework/ $ ctags -R *

i modified /home/me/.config/sublime-text-2/Packages/CTagss/CTags.sublime-settings with this line:

"extra_tag_files" : ".gemtags", "/absolute_path_of_my_cpp_framework/tags"]

now i open a cpp file, point the cursor on a class name of my framework and used the key binding ctrl+t ctrl+t and nothing happened. only this message in the bar in the bottom:

can’t find “class_name”

someone can help me?

0 Likes