Skip to content

Terminal editors June plan #125514

@Tyriar

Description

@Tyriar

This is a plan for terminal tabs issue: #10546, I read through all the comments on that issue while coming up with the below.

If you have feedback on this feature, please put it in #10546

Philosophy

The terminal view is convenient, it's nice to have all terminals in a single space where you can reliably go to in order to see all your terminals. Having said that, some people don't like the terminal panel and would prefer to work with editors. There are a few reasons for this:

  • They want to use a true grid view with more than 1 dimension - this isn't implemented in the terminal view to keep things simple and lightweight.
  • They want terminals that are persistent and will always be visible regardless of panel state.
  • They want to save the panel's real estate for something else like the debug console or problems.
  • They want to make better use of monitors.
  • They want to temporarily use a terminal on the side to give it more real estate and use as a reference - this is something I use a text editors in a second editor group for.
  • They want to have a single full screen editor group, being able to switch to the terminal without messing with its dimensions

The plan is to make terminal editors optional/opt-in. If the user doesn't want to use them, then they probably wouldn't even notice they exist. Terminal editors will complement the existing terminal tabs, both can be used if the user wants.

Tasks

For an up to date list of tasks check this query.

Verification

List of some things to make sure that they work during development and also to add to the test plan at the end of the iteration.

  • Ensure API Terminal.show works for terminal editors
  • Ensure tab color, icon works for terminal editors
  • Status works for terminal editors, including the task running animation
  • Ensure status hover shows when hovering terminal editor tabs
  • Backgrounded terminal editors on reload should be restored correctly - the process should reconnect but the editor should not be created until focused
  • Ensure terminal editors are always pinned
  • Linux/Windows: Does ctrl+w close the tab as expected? (tracked in Ctrl+w should close terminal editors by default #127189)
  • Does split editor (cmd/ctrl+) work as expected within the terminal editor?
  • Does split terminal command work as expected within the terminal editor?
  • Reconnected terminal editors don't resize terminal unless the window size has changed
  • Work as expected in test resolver?
  • Work as expected in Web?
  • Try live share

Investigations

Some unknowns/explorations to consider after the main parts are done.

References

Metadata

Metadata

Labels

plan-itemVS Code - planned item for upcomingterminalGeneral terminal issues that don't fall under another labelterminal-editors

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions