@-notation does not list all relevant objects

This has been an issue for quite some time and unfortunately is still not fixed.

I have a Field class in my code and many field variables which are instances of a Field. No matter what I do I cannot use @Field to reference the Field class. It only lists a limited amount of objects matching field, not the class itself.

This should be fairly easy to fix. I propose that the @-notation should rank results in a case sensitive way so that @Field actually lists the class itself first (vs. @field).

In general I think you should first list classes, then functions and then at last instances of classes.

Field is quite an important class in my application. Not being able to reference the Field class is actually a huge limitation for me when using Cursor. In the chat I can mark the class and use that to reference the code lines but this is annoying to do and probably works not as good as using the @-notation to provide context. Also when using the composer this is not possible.

About one year ago @truell20 wrote a mail asking for feedback. This was among my feedback. This issue was more widespread then and has gotten better since. But it still is a problem for a few of the classes in a quite large codebase that have many instances / variables…

I really would be grateful if you could fix that. Thanks! :slight_smile:

1 Like