Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra_tag_paths does not work on OSX #284

Open
wuntee opened this issue Feb 10, 2015 · 0 comments
Open

extra_tag_paths does not work on OSX #284

wuntee opened this issue Feb 10, 2015 · 0 comments

Comments

@wuntee
Copy link

wuntee commented Feb 10, 2015

I am trying to include a .tags file for the core OSX SDK header files, however retreiving definitions does not work after configuring as follows. Furthermore, setting 'debug' to 'true' in the ctags sublime config does not produce any additional output.

  1. cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include
  2. ctags -f .tags -R . (will likely need root privs to write here)
  3. Modify CTags.sublime-settings to include:
    "extra_tag_paths": [ [["source.python", "windows"], "C:\\Python27\\Lib\\tags"], [["source.c", "osx"], "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/"] ],
  4. Rebuild ctags for any project/file
  5. Add a variable that exists in the originally built .tags file (such as xmlNs which should exist in libxml2/libxml/tree.h)
  6. Attempt to retrieve the definition for variable type in step 5. Note the message "Can't find 'xmlNs'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant