chapa.vim icon indicating copy to clipboard operation
chapa.vim copied to clipboard

would you add some features to this plugin?

Open CoinCheung opened this issue 8 years ago • 3 comments
trafficstars

I happened to find this plugin and really like it. It is so useful and helpful. Nevertheless, there are still some features that I believe will make this plugin perfect if you would like to add them kindly for the users like me.

I wish this plugin will be able to locate the positions where the python methods are called and allows the users to jump to these positions( just like the way cscope does). Do you think it is feasible? If so, would you please add these features to your plugin?

CoinCheung avatar Apr 20 '17 10:04 CoinCheung

that sounds a bit tricky, would your expectation be for the current file or by any other file in the source? It might be better to have ctags running (or anything similar)

alfredodeza avatar Apr 20 '17 19:04 alfredodeza

I hope this will allow the user to see all the positions where the current method is called(in a list from which the user can choose one to jump to), thus my expectation should be for the whole project. I have tried ctags and find it does not support the navigation to the positions where the method is called( only the jump to the definitions).

CoinCheung avatar Apr 21 '17 12:04 CoinCheung

For the whole project it would entail some sort of a call to "grep" (or similar) to ensure that it can provide that across files

That would be out of scope, for this plugin. However, one thing that it could do is provide a helper to spit out the name of the current method/class/function so that it can be used with a plugin that uses grep (or any grep-like tool).

That way you would only need a mapping.

alfredodeza avatar Apr 24 '17 18:04 alfredodeza