Optimise use of tabbed interface

Issue #1146 resolved
James Melville created an issue

When I have a file of a lightning component open, and open another file from that component, that file should be opened within the existing file tab and the appropriate component tab focused, instead of opening another file. The tab header should be the component name instead of the file name.

When I add a new element to a lightning component (E.g. I have a component, and add a controller), that new element should be added to the existing tabbed UI and focused, instead of opening a new window for the same component again.

Comments (2)

  1. Scott Wells repo owner

    I'll take a look and see if there's anything I can do. Unfortunately the IDE's support for tabbed editors is a little...odd. I've already had to do some interesting things to get it working as well as it does. I'm not sure if there are any provisions for intercepting file open events and redirecting them to an existing tabbed editor. I'm actually more concerned about what it would mean if the user really does want that file opened in its own top-level tab. Anyway, let me take a look...you never know!

  2. Scott Wells repo owner

    Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.

  3. Log in to comment