atom-ctags icon indicating copy to clipboard operation
atom-ctags copied to clipboard

Feature suggestions

Open d3v-null opened this issue 6 years ago • 1 comments

Hi there! I have 2 minor feature suggestions that could improve the Go to Declaration feature.

  1. I noticed that when I use atom-ctags:go-to-declaration, it sometimes duplicates my options for certain classes, most likely because I have a symlink from $HOME/GitHub to $Home/Documents/GitHub. Here is an example (see: last 2 options) No big deal but it might be a nice idea to resolve symlinks in a path and collapse equivalent paths.
  2. It would be very useful if I could search for a declaration go to. e.g. in the previous example, if I knew that I wanted to go to abstract.py, I'd like to be able to start typing abstract and narrow down my options instead of having to use my mouse to select the correct option.

I also have a feature suggestion for the atom-ctags:toggle-file-symbols function. 3. I'd like to be able to narrow down my search to search for certain types of symbols/tags, e.g. classes / functions etc. I'm not sure what kind of data ctags gives you about how it classifies symbols/tags, but this information could be obtained from the surrounding source code.

Let me know what you think! If these are feasible features for an dev who is unfamiliar with this project to tackle in a reasonable amount of time and no one on the project has the time to take these on, then I'd be glad to attempt to implement these features. Especially number 3

Thanks.

d3v-null avatar Jul 25 '17 23:07 d3v-null

I just made https://github.com/yongkangchen/atom-ctags/pull/204 which I think addresses your feature request (2). Give it a try!

jdanbrown avatar Apr 25 '18 21:04 jdanbrown