Community
Participate
Working Groups
I think the behavior of the outline view should be that of JDT's outline view: * Single clicking on a node selects and reveals the corresponding declaration in the editor but the view maintains focus * Double clicking a node also selects and reveals the declaration but transfers the UI focus to the editor It's mainly the double clicking I find a bit annoying (keep forgetting it :-)).
Forgot to mention what the current behavior of the Xtext outline is: * Single click doesn't do anything (except selecting the node in the outline tree view) * Double clicking selects and reveals in the editor but the UI focus remains on the outline view
Apart from the focus on double-click, the behavior is exctly as in JDT. Note that JDT hides the "Link with editor" toggle button in the "View Menu" (below the triangular button) of the outline.
Yes, you're right. Maybe it's just that link with editor is enabled by default in JDT and not in the Xtext outline.
Created attachment 207829 [details] proposed patch Simple patch to make the link with editor the default.
Applied your patch and added a focus change on double click.
Closing all bugs that were set to RESOLVED before Neon.0