Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Jump to definition doesn't work right in inline editor #4508

Open
dangoor opened this issue Jul 18, 2013 · 5 comments
Open

Jump to definition doesn't work right in inline editor #4508

dangoor opened this issue Jul 18, 2013 · 5 comments

Comments

@dangoor
Copy link
Contributor

dangoor commented Jul 18, 2013

If you use Quick Edit on a JavaScript file and then do jump to definition, you'll get behavior like the cursor jumping to the end of the inline editor. It's hard to say what the right behavior is here, but that is clearly not it.

It seems like either the inline editor should change to show the jumped-to-definition or the inline editor should close and the main editor jumps to the definition.

@peterflynn
Copy link
Member

@dangoor I assume this only repros in cases where the definition lies in the same file? I.e. if your cursor is on a definition that's not in the inline editor's document, then it still switches documents correctly...?

@dangoor
Copy link
Contributor Author

dangoor commented Jul 19, 2013

@peterflynn That was the case that I saw, yes.. the definition was in the same file.

@ghost ghost assigned njx Jul 19, 2013
@njx
Copy link
Contributor

njx commented Jul 19, 2013

Assigning to me.

@njx njx added this to the Brackets 1.0 milestone Mar 14, 2014
@njx
Copy link
Contributor

njx commented Mar 14, 2014

This is low pri, but nominating for 1.0 since it seems like a case people could hit and the fix is probably straightforward.

@njx
Copy link
Contributor

njx commented Apr 11, 2014

Reviewed. Timebox to half hour. Desired behavior is to just jump to the definition in the main editor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants