Skip to main content
13 events
when toggle format what by license comment
Jun 1, 2016 at 20:06 comment added Grant A Right. tagbar is calling jsctags with no errors printing within it's debugging log. Vim also uses the tags file generated by ctags or jsctags for it's tag functionality so no, I didn't think that using one to debug the other was such a stretch but I understand why that may lead to false positives.
May 31, 2016 at 14:59 comment added romainl Tagbar uses either ctags or jsctags. Which one it uses is probably defined by some option described somewhere in :help tagbar. What tags you have listed in the Tagbar window may or may not be the same seen by Vim itself. The operation of tags in Vim is totally separated from that in Tagbar so using one for debugging the other makes no sense at all.
May 31, 2016 at 14:27 comment added Grant A @romainl echo taglist(".") prints out a huge list of tags that I don't know how to search within so I tried looking for a specific method like :tag processLiveData with no luck. Also, I'm not able to run :help ctags so I'm not sure what format you're referring to. There are definitely tags being generated for some files but not all. No difference in syntax of the files, but it's strange that my lib/ folder is getting tagged yet the folder with all my work files (widgets/) is not...
May 31, 2016 at 14:04 comment added Grant A @romainl. Thanks for the thoughts and sorry for the confusing information. I'm new to tagging in vim :-). Overall the objective is how to get tags to show up in Tagbar so I can have an overview and easy navigation of my file. Universal ctags and jsctags are apparently used by tagbar to auto-generate the tags (at least that's what I understood). If that's not possible then to use Vim's native tag functionality.
S May 29, 2016 at 16:17 history edited statox CC BY-SA 3.0
Improved formatting.
S May 29, 2016 at 16:17 history suggested Jair López CC BY-SA 3.0
Improved formatting.
May 29, 2016 at 15:02 review Suggested edits
S May 29, 2016 at 16:17
May 28, 2016 at 19:24 comment added romainl 4. You can use :echo taglist(".") to output what Vim could put together from the files in tagfiles(). Can you find your objects/methods, there?
May 28, 2016 at 19:24 comment added romainl 3. Vim expects your tags file to adhere to a specific format described in :help ctags. Does the output of your shell command fit that format?
May 28, 2016 at 19:23 comment added romainl 2. You mention Universal Ctags, JSCtags, and the mostly unrelated tern_for_vim, but you show a convoluted JSCtags example and your ~/.ctags file. So… is your question about JSCtags or about Universal Ctags?
May 28, 2016 at 19:22 comment added romainl 1. The Tagbar plugin reads the output of ctags-like programs directly, without using any pre-existing tags file, and processes that data independently. Everything tags-related it does or doesn't is completely separated from anything tag-related Vim does or doesn't. So… is your question about Vim or about Tagbar?
May 28, 2016 at 16:38 review First posts
May 28, 2016 at 18:15
May 28, 2016 at 16:35 history asked Grant A CC BY-SA 3.0