Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add support for tag extension fields #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hansonw
Copy link

@hansonw hansonw commented Feb 23, 2016

The ctags format supports extension fields (see http://ctags.sourceforge.net/ctags.html). These are often used to store the class names of methods, access modifiers for members, etc.

The readtags library already parses these (see tagExtensionField), so we just need to convert these to JS objects. It looks like the Tag -> v8::Object code was duplicated, so I moved the code into Tag.

Finally, I updated the README with a more complete description of the returned tag objects.

@jacwah
Copy link

jacwah commented Jul 8, 2017

Hi maintainers.

I know you are all very busy with important things. Still, I would like to make a friendly reminder about this PR and argue why it's important too (at least to me).

I want to switch to Atom in my work. But some features that are very useful in my current editor don't exist in Atom yet. One such feature is the ability to auto complete function parameters. I'm looking for a way to add this feature to autocomplete-ctags, however it requires the signature tag field, which is currently not available in the node-ctags API.

If there is any way I can help get this PR merged, please let me know!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants