Skip to content

‘jump to binding’ usability change  #584

Open
@spdegabrielle

Description

@spdegabrielle

Is your feature request related to a problem? Please describe.
(5 days ago on slack)

:face_palm: <-- me when clicking on "Jump to binding occurrence" rather than "Jump to Definition (in other file)"
This moves the cursor to the provide line, which means I need to manually move the cursor back to the original site and click on "Jump to def..."

Stephen: I’m glad it’s not just me

Describe the solution you'd like
Suggest that ‘jump to binding’ has a different behaviour.

Ideas:

  1. Just jump to the definition when the binding is a require form
  2. add an indicator to ‘jump to binding’ (e.g. make it pink in the menu) so you know you are going to a require
    e.g.

image

3. 'Cursor undo’ function that retraces the cursor location history

Describe alternatives you've considered
I don't have a favourite

Do you want to contribute to this feature
yes

[Optional] Additional context

e.g. this shows an identifier with the context menu - if you select jump to binding it will go to the require.
image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions