File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ For the `asExternalUri` changes, you'll need to test manually by:
19
19
Do the same thing but set `VSCODE_PROXY_URI: "https://{{port}}-main-workspace-name-user-name.coder.com"`
20
20
and the output should replace `{{port}}` with port used in input url.
21
21
22
+ This also enables the forwared ports view panel by default.
23
+
22
24
Index: code-server/lib/vscode/src/vs/base/common/product.ts
23
25
===================================================================
24
26
--- code-server.orig/lib/vscode/src/vs/base/common/product.ts
@@ -142,3 +144,16 @@ Index: code-server/lib/vscode/src/vs/code/browser/workbench/workbench.ts
142
144
+ }
143
145
});
144
146
})();
147
+ Index: code-server/lib/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.ts
148
+ ===================================================================
149
+ --- code-server.orig/lib/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.ts
150
+ +++ code-server/lib/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.ts
151
+ @@ -73,7 +73,7 @@ export class ForwardedPortsView extends
152
+ this.contextKeyListener = undefined;
153
+ }
154
+
155
+ - const viewEnabled: boolean = !!forwardedPortsViewEnabled.getValue(this.contextKeyService);
156
+ + const viewEnabled: boolean = true;
157
+
158
+ if (this.environmentService.remoteAuthority && viewEnabled) {
159
+ const viewContainer = await this.getViewContainer();
You can’t perform that action at this time.
0 commit comments