-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Test: Grid Editor Layout #50458
Labels
Milestone
Comments
bpasero
added
testplan-item
workbench-editor-grid
Grid layout issues in the editor area
labels
May 25, 2018
This was referenced May 29, 2018
This was referenced May 29, 2018
This was referenced May 29, 2018
This was referenced May 29, 2018
This was referenced May 30, 2018
This was referenced May 31, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Refs: #14909
Complexity: 5
Builds (from 05-31):
The grid editor layout feature is a rewrite of the components that we used to have for showing editors in the editor area. As such, this test covers some basic scenarios of interacting with editors as well.
Errors
If you see the following:
Find the serialized state of the grid in the dev console and attach it to the error report:
You can rightclick the value and select "Store as global variable" to then
JSON.stringify()
it.General
Alt
+key while clicking the "Open to Side" action in the editor toolbarCtrl/Cmd+Tab
)edt
in quick open)editorGroup.emptyBackground
andeditorGroup.activeEmptyBackground
Stability
View State
New Commands
There are new commands to take the grid nature into account. When previously we talked about left/right editor group, we now talk about groups above and below as well.
view editor
in command palette)editor group
in command palette)Empty Editor Groups
To make testing easier, consider to change
workbench.editor.closeEmptyGroups: false
. Empty editor groups are showing up when the last editor of a group has closed.Verify:
Ctrl/Cmd+W
, or via the X button) and the next editor group (in MRU order) receives focusSettings
There are two new grid related settings introduced that need verification:
workbench.editor.openSideBySideDirection
: controls if invoking any of the "Open to Side" actions should cause a vertical or horizontal splitworkbench.editor.closeEmptyGroups
: controls if closing the last editor of an editor group should close that editor group or keep it emptyDrag and Drop
Alt
-key while draggingEditor Layouts
View > Editor Layout
allows to switch editor layouts quicklylayoutEditorGroups
command with arguments and it works, e.g.:The text was updated successfully, but these errors were encountered: