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
+40-10
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,37 @@ 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
+
### Configuring an HTTP Proxy
25
+
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
+
{
45
+
"http.proxy": "http://<proxy-url>:<port>",
46
+
"http.proxyStrictSSL": false
47
+
}
48
+
```
49
+
50
+
5.**Restart VS Code**:
51
+
After configuring your proxy, restart VS Code to ensure the settings are applied.
52
+
53
+
For more advanced proxy configurations, refer to the official [VS Code documentation](https://code.visualstudio.com/docs/setup/network#_proxy-server-support).
54
+
24
55
## Installation
25
56
26
57
### From the VS Code Marketplace
@@ -34,8 +65,8 @@ Please Note: This extension is currently in its early stages of development. Whi
34
65
35
66
If you want to install dependencies and build the extension locally, follow these steps:
36
67
37
-
38
68
> ℹ️ **Prerequisites**:
69
+
>
39
70
> -**Node.js**: Ensure you have Node.js installed. You can download it from [nodejs.org](https://nodejs.org/).
40
71
> -**npm**: Make sure you have npm (comes with Node.js).
41
72
@@ -60,15 +91,14 @@ If you want to install dependencies and build the extension locally, follow thes
0 commit comments