brandon1024/cortado.vim

enhancement: smarter tag navigation

Opened this issue · 0 comments

When I use CTRL+] to navigate to a tag under the cursor, it just picks the first tag to go and doesn't prompt. If there are a couple of definitions with the name under the cursor, it'll often bring me to the one I'm not looking for.

We can fix this. Let's add a feature that behaves a bit like CTRL+], but prompts you first. If the tag is a java file, we should show a package path (e.g. com.thing.MyClass) beside the tag name, which indicates which tag we are going to navigate to.