File tree Expand file tree Collapse file tree
extensions/vscode-test-resolver
contrib/remote/electron-browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 "statusBar/windowIndicator" : [
5454 {
5555 "command" : " vscode-testresolver.newWindow" ,
56- "when" : " !remoteAuthority " ,
56+ "when" : " !remoteName " ,
5757 "group" : " 9_local_testresolver@2"
5858 },
5959 {
6060 "command" : " vscode-testresolver.showLog" ,
61- "when" : " remoteAuthority =~ /^ test\\ +.*$/ " ,
61+ "when" : " remoteName == test" ,
6262 "group" : " 1_remote_testresolver_open@3"
6363 },
6464 {
6565 "command" : " vscode-testresolver.newWindow" ,
66- "when" : " remoteAuthority =~ /^ test\\ +.*$/ " ,
66+ "when" : " remoteName == test" ,
6767 "group" : " 1_remote_testresolver_open@1"
6868 }
6969 ]
Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ export class WorkbenchContextKeysHandler extends Disposable {
123123 IsWebContext . bindTo ( this . contextKeyService ) ;
124124 IsMacNativeContext . bindTo ( this . contextKeyService ) ;
125125
126- Deprecated_RemoteAuthorityContext . bindTo ( this . contextKeyService ) . set ( this . environmentService . configuration . remoteAuthority || '' ) ; // remove once
127126 RemoteNameContext . bindTo ( this . contextKeyService ) . set ( getRemoteName ( this . environmentService . configuration . remoteAuthority ) || '' ) ;
128127
129128 // macOS Native Tabs
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ export class RemoteWindowActiveIndicator extends Disposable implements IWorkbenc
119119 if ( this . disconnected !== isDisconnected ) {
120120 this . disconnected = isDisconnected ;
121121 RemoteConnectionState . bindTo ( this . contextKeyService ) . set ( isDisconnected ? 'disconnected' : 'connected' ) ;
122- Deprecated_RemoteAuthorityContext . bindTo ( this . contextKeyService ) . set ( ! isDisconnected && this . remoteAuthority || '' ) ;
122+ Deprecated_RemoteAuthorityContext . bindTo ( this . contextKeyService ) . set ( isDisconnected ? '' : this . remoteAuthority || '' ) ;
123123 this . updateWindowIndicator ( ) ;
124124 }
125125 }
@@ -164,7 +164,7 @@ export class RemoteWindowActiveIndicator extends Disposable implements IWorkbenc
164164
165165 private showIndicatorActions ( menu : IMenu ) {
166166
167- const actions = ! this . disconnected || ! this . remoteAuthority ? menu . getActions ( ) : [ ] ;
167+ const actions = menu . getActions ( ) ;
168168
169169 const items : ( IQuickPickItem | IQuickPickSeparator ) [ ] = [ ] ;
170170 for ( let actionGroup of actions ) {
You can’t perform that action at this time.
0 commit comments