Add workbench.editor.alwaysOpenInActiveGroupFromQuickOpen setting#134525
Open
mkcode wants to merge 2 commits intomicrosoft:mainfrom
Open
Add workbench.editor.alwaysOpenInActiveGroupFromQuickOpen setting#134525mkcode wants to merge 2 commits intomicrosoft:mainfrom
workbench.editor.alwaysOpenInActiveGroupFromQuickOpen setting#134525mkcode wants to merge 2 commits intomicrosoft:mainfrom
Conversation
This settings controls whether editors opened from Quick Open will always open in the currently active editor group. Similar to setting the 'revealIfOpened' setting to false, enabling this setting will open multiple copies of an editor in different editor group.
|
The PR below is a spiritual success to this PR that we're hoping will actually get merged: @jonathanjameswatson PR that adds a revealIfOpenInActiveGroup option. There's a video demo. #205442 Please also +1 in this issue: #204942 The option allows users to automatically recall (move) an open Editor into the active Editor Group. This allows user accustomed to Emacs or vi/vim/neovim buffer-centric workflows to use Quick Find as a buffer switcher without undesirable opening files once-per-Editor Group. It basically allows you to not really worry about which file (Editor) is in which Editor Group at all. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a follow up from #134478.
It is also tangentially related to #94705 where there has been lots of discussion.
Rather than overriding the
workbench.editor.revealIfOpensetting and changing the default behavior, a new setting is introduced in order to make this an opt in behavior.When enabling the
workbench.editor.alwaysOpenInActiveGroupFromQuickOpensetting, opening editors from Quick Open will always open in the active group.This shows the change in behavior with the setting disabled and then enabled: