-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Add locked editor groups #6337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add locked editor groups #6337
Conversation
gjsjohnmurray
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this. I have made a few suggestions.
Co-authored-by: John Murray <johnm@georgejames.com>
|
|
||
| Terminals are configured by default to cause a new group to lock automatically. A lock icon in the action toolbar (top right) indicates a locked group. The locked state of an editor group is persisted and restored across restarts. | ||
|
|
||
| <!-- Required? Locked editor https://code.visualstudio.com/assets/updates/1_61/editor-readonly-deleted.png --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still open. If needed, can someone move the images to the correct location and create the image link?
Otherwise
| <!-- Required? Locked editor https://code.visualstudio.com/assets/updates/1_61/editor-readonly-deleted.png --> |
|
|
||
| You can also lock empty groups for a more stable editor layout. With setting `workbench.editor.closeEmptyGroups` you can control whether an empty group is closed when the last tab in a group is closed. When disabled, empty groups will remain part of the grid. | ||
|
|
||
| <!-- Required? Lock group option in overflow menu https://code.visualstudio.com/assets/updates/1_60/locked-editor-group.png --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still open. If needed, can someone move the images to the correct location and create the image link?
Otherwise
| <!-- Required? Lock group option in overflow menu https://code.visualstudio.com/assets/updates/1_60/locked-editor-group.png --> |
|
Please let me know what to do with my open suggestions. FYI - Not sure how to get this merged. I will close my PR in a week. |
|
Pinging @gregvanl |
|
@cadamini Thank you for your continued interest in the VS Code documentation and apologies for the delay in reviewing this PR. I'm reluctant to add a description of this feature to the docs/getstarted/userinterface topic since we want to be careful not to overwhelm new users with advanced features. Per the discussion in microsoft/vscode#182294, this was added mostly to handle terminal editors and could be confusing to new users. I think issues #6312, #6313, and #6326 make the case for a new topic on advanced editor features. Closing this PR for now and we may be able to fold in this content into a new "Advanced Editor" topic |
|
Do you have already someone in mind who could start the advanced editor features article? |
Fixes #6312
I spent some time figuring out how the locked editor groups feature is working after reading the release notes docs linked in the referenced issue.
This PR adds some information to the docs. I hope this help as the basis for the final update.
FYI @gjsjohnmurray