mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
remoteIndicator menu point: double digit order number. For #121180
This commit is contained in:
parent
c141ca6661
commit
94f28728f7
|
@ -84,27 +84,27 @@
|
|||
{
|
||||
"command": "vscode-testresolver.newWindow",
|
||||
"when": "!remoteName",
|
||||
"group": "remote_9_test_1_local@2"
|
||||
"group": "remote_90_test_1_local@2"
|
||||
},
|
||||
{
|
||||
"command": "vscode-testresolver.showLog",
|
||||
"when": "remoteName == test",
|
||||
"group": "remote_9_test_1_open@3"
|
||||
"group": "remote_90_test_1_open@3"
|
||||
},
|
||||
{
|
||||
"command": "vscode-testresolver.newWindow",
|
||||
"when": "remoteName == test",
|
||||
"group": "remote_9_test_1_open@1"
|
||||
"group": "remote_90_test_1_open@1"
|
||||
},
|
||||
{
|
||||
"command": "vscode-testresolver.openTunnel",
|
||||
"when": "remoteName == test",
|
||||
"group": "remote_9_test_2_more@4"
|
||||
"group": "remote_90_test_2_more@4"
|
||||
},
|
||||
{
|
||||
"command": "vscode-testresolver.startRemoteServer",
|
||||
"when": "remoteName == test",
|
||||
"group": "remote_9_test_2_more@5"
|
||||
"group": "remote_90_test_2_more@5"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -294,7 +294,7 @@ export class RemoteStatusIndicator extends Disposable implements IWorkbenchContr
|
|||
};
|
||||
|
||||
const validatedGroup = (group: string) => {
|
||||
if (!group.match(/^(remote|virtualfs)_(\d)_(([a-z][a-z0-9+\-.]*)_(.*))$/)) {
|
||||
if (!group.match(/^(remote|virtualfs)_(\d\d)_(([a-z][a-z0-9+\-.]*)_(.*))$/)) {
|
||||
if (!this.loggedInvalidGroupNames[group]) {
|
||||
this.loggedInvalidGroupNames[group] = true;
|
||||
this.logService.warn(`Invalid group name used in "statusBar/remoteIndicator" menu contribution: ${group}. Entries ignored. Expected format: 'remote_$ORDER_$REMOTENAME_$GROUPING or 'virtualfs_$ORDER_$FILESCHEME_$GROUPING.`);
|
||||
|
|
Loading…
Reference in a new issue