Summary
Have references to imported elements go to the original declaration, not to the import
Todo
[ ] Figure out if this breaks renaming
[ ] Decide if this is worth breaking renaming
[ ] Implement
[ ] Update tests
Reason
It is rarely useful to go to imports, most of the time you want to go to the declaration directly. Right now you first go to imports, have to search for the exact declaration / the cursor on the screen, and then click again. It also moves the editor for that file to the imports, instead of staying at the code where you are actually working
Additional info
It is not entirely clear if automatic renaming with imports still works right now and after this change.
Summary Have references to imported elements go to the original declaration, not to the import
Todo
Reason It is rarely useful to go to imports, most of the time you want to go to the declaration directly. Right now you first go to imports, have to search for the exact declaration / the cursor on the screen, and then click again. It also moves the editor for that file to the imports, instead of staying at the code where you are actually working
Additional info It is not entirely clear if automatic renaming with imports still works right now and after this change.
Related issues
Search terms Reference resolution