You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-3
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,34 @@ Please Note: This extension is currently in its early stages of development. Whi
21
21
| Plan/Apply Output | Read the output from Terraform plan and apply operations directly within VS Code. |
22
22
| Scalr UI Integration | Convenient links provide quick navigation to the corresponding sections of the Scalr web UI. |
23
23
24
-
##HTTP PROXY
24
+
### Configuring an HTTP Proxy
25
25
26
-
If the [proxy server](https://code.visualstudio.com/docs/setup/network#_proxy-server-support) is don't used. The proxy for https://scalr.io/ could be configured on vscode by http.proxy and http.proxyAuthorization variables (Settings > User > Applications > Poxy)
27
-
or by HTTP_PROXY, HTTPS_PROXY environment variables.
26
+
If your environment requires using an HTTP proxy to connect to external services, you can configure the VS Code extension to use a proxy by following these steps:
27
+
28
+
1.**Open Settings**:
29
+
- Go to the **Settings** tab in VS Code.
30
+
- Alternatively, you can open the command palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on macOS) and search for `Preferences: Open Settings (UI)`.
31
+
32
+
2.**Search for Proxy Settings**:
33
+
- In the Settings search bar, type `proxy`.
34
+
35
+
3.**Configure Proxy**:
36
+
-**HTTP Proxy**: Enter your HTTP proxy URL under `Proxy > HTTP: Proxy`.
37
+
-**HTTPS Proxy**: If your proxy also handles HTTPS traffic, enter it under `Proxy > HTTPS: Proxy`.
38
+
-**Proxy Strict SSL**: Toggle `Proxy > Strict SSL` if your proxy uses a self-signed certificate.
39
+
40
+
4.**Configure the Extension**:
41
+
- If the extension needs to use the proxy for specific API calls, ensure it respects the global proxy settings in VS Code. You can also configure proxy settings directly in the extension by setting the following in your `settings.json`:
42
+
43
+
```json
44
+
"http.proxy": "http://<proxy-url>:<port>",
45
+
"http.proxyStrictSSL": false
46
+
```
47
+
48
+
5.**Restart VS Code**:
49
+
After configuring your proxy, restart VS Code to ensure the settings are applied.
50
+
51
+
For more advanced proxy configurations, refer to the official [VS Code documentation](https://code.visualstudio.com/docs/setup/network#_proxy-server-support).
0 commit comments