Home Download Buy Blog Forum Support

install ctgas with external tag file

install ctgas with external tag file

Postby nkint on Wed Mar 07, 2012 11:29 am

this is a clone of this question: http://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:

Code: Select all
$ 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:

Code: Select all
"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?
nkint
 
Posts: 6
Joined: Sat Feb 18, 2012 1:34 am

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 34 guests