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

Integrate goto functionality with tags #3

Open
lencioni opened this issue May 1, 2016 · 2 comments
Open

Integrate goto functionality with tags #3

lencioni opened this issue May 1, 2016 · 2 comments

Comments

@lencioni
Copy link
Contributor

lencioni commented May 1, 2016

From @lencioni on January 31, 2016 18:40

This is a bit of an unfinished thought, but the goto functionality feels very similar to tags. (See :help tags) It occurred to me that perhaps we could integrate with tags somehow, but I'm not sure exactly what that would look like just yet. Some ideas come to mind:

  • Maybe there is a way to hook into the tags resolver built into vim. If this is possible, we should be able to call the goto feature at this time.
  • Perhaps a command could be added to parse a project and generate a tags file. This could be appended to the tags file generated by a tool like exuberant ctags. This fees pretty messy though, since the format of that file depends partly on the tool that created it and partly on the configuration given to that tool.
  • Exuberant ctags is able to be extended with new parsers. Perhaps we could figure out a way to integrate import-js in that way, but it seems a bit out of scope.

This is pretty low priority, so I'm adding the help wanted tag.

Copied from original issue: Galooshi/import-js#179

@trotzig
Copy link
Contributor

trotzig commented Feb 16, 2017

@lencioni: Is this something you're still considering?

@lencioni
Copy link
Contributor Author

@trotzig I'd like for it to work this way, but I'm not actively pursuing it at this time.

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

No branches or pull requests

2 participants