brandon1024/cortado.vim

respect class visibility

Opened this issue · 1 comments

When importing a class/enum/method, the plugin may recommend imports that are not visible to the current class. For instance, importing a package private class from another package.

I'm not sure how we'll accomplish this. Package-private classes would be easy enough, but private and protected would be very difficult IMO. Hmm. I'll have to think about this bit more.

There's not enough information in a tag file to do this without parsing the source file ourselves. That's not ideal. I'll put this on the backburner for now.