From 38d61743cb8ea7f9531b8b8fa329b4e5d5e28277 Mon Sep 17 00:00:00 2001 From: Ado Kukic Date: Tue, 5 Nov 2024 11:46:37 -0800 Subject: [PATCH 1/4] Hackathon --- docs/cody/capabilities/proxy-setup.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/cody/capabilities/proxy-setup.mdx b/docs/cody/capabilities/proxy-setup.mdx index 57429e7af..1602a9e96 100644 --- a/docs/cody/capabilities/proxy-setup.mdx +++ b/docs/cody/capabilities/proxy-setup.mdx @@ -1,3 +1,4 @@ + # Running Cody via proxies

This documentation helps you set up HTTP, HTTPS, and SOCKS proxies in VS Code and JetBrains IDEs. It also includes instructions for handling self-signed certificates on macOS and Windows.

From df446ee01977e4dc5905378d8c7f3de886dfb45a Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Tue, 5 Nov 2024 12:30:49 -0800 Subject: [PATCH 2/4] Edit comment format --- docs/cody/capabilities/proxy-setup.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/cody/capabilities/proxy-setup.mdx b/docs/cody/capabilities/proxy-setup.mdx index 1602a9e96..3c327958b 100644 --- a/docs/cody/capabilities/proxy-setup.mdx +++ b/docs/cody/capabilities/proxy-setup.mdx @@ -1,4 +1,5 @@ - +{/* Hackathon */} + # Running Cody via proxies

This documentation helps you set up HTTP, HTTPS, and SOCKS proxies in VS Code and JetBrains IDEs. It also includes instructions for handling self-signed certificates on macOS and Windows.

From 0044f46cbc08be7568923e90e881f6aef3b16bdd Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Tue, 5 Nov 2024 13:09:50 -0800 Subject: [PATCH 3/4] Edit comment format --- docs/cody/capabilities/proxy-setup.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cody/capabilities/proxy-setup.mdx b/docs/cody/capabilities/proxy-setup.mdx index 3c327958b..0fb963eb1 100644 --- a/docs/cody/capabilities/proxy-setup.mdx +++ b/docs/cody/capabilities/proxy-setup.mdx @@ -1,4 +1,4 @@ -{/* Hackathon */} +{/* This is for Hackathon */} # Running Cody via proxies From c52c30ad1d3591ba9937e1c13dfc4fdfdbff8778 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Fri, 15 Nov 2024 10:45:01 -0800 Subject: [PATCH 4/4] Rmv redundant info and fix formatting --- docs/cody/capabilities/proxy-setup.mdx | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/cody/capabilities/proxy-setup.mdx b/docs/cody/capabilities/proxy-setup.mdx index 0fb963eb1..e95d1cfb5 100644 --- a/docs/cody/capabilities/proxy-setup.mdx +++ b/docs/cody/capabilities/proxy-setup.mdx @@ -1,6 +1,4 @@ -{/* This is for Hackathon */} - -# Running Cody via proxies +# Run Cody via proxies

This documentation helps you set up HTTP, HTTPS, and SOCKS proxies in VS Code and JetBrains IDEs. It also includes instructions for handling self-signed certificates on macOS and Windows.

@@ -9,7 +7,7 @@ You may be unable to authenticate with Cody or see a network reachability issue if you attempt to use Cody before configuring your proxy settings. - ### Accessing the Proxy Settings + ### Accessing the Proxy Settings 1. Open VS Code. 2. Navigate to the settings window of VS Code @@ -30,7 +28,7 @@ Add the following configuration fields in the `settings.json` file to set up you } ``` - ### Self-Signed Certificates in VS Code + ### Self-Signed Certificates in VS Code If your proxy uses self-signed certificates, ensure the following settings are enabled: @@ -41,11 +39,11 @@ If your proxy uses self-signed certificates, ensure the following settings are e } ``` - ### Restart VS Code + ### Restart VS Code After modifying the `settings.json` file, close and restart VS Code to apply the new proxy settings. - ### Supported Proxy Types + ### Supported Proxy Types VS Code supports HTTP, HTTPS, and SOCKS proxies. The `http.proxy` setting in `settings.json` will accommodate all three types based on the provided proxy URL. @@ -86,13 +84,13 @@ VS Code supports HTTP, HTTPS, and SOCKS proxies. The `http.proxy` setting in `se - **Token:** `your_token` 3. Click `Apply`, then `OK`, and test the connection -### Supported Proxy Types + ### Supported Proxy Types JetBrains supports HTTP and SOCKS proxies. The `Manual Proxy Configuration` in the settings will accommodate both types based on the provided proxy URL. -### Known Limitations + ### Known Limitations -1. At the moment, only `Manual Proxy Configuration` is supported. The `auto-detect proxy settings` option is not fully supported. +1. Currently, only `Manual Proxy Configuration` is supported. The `auto-detect proxy settings` option is not fully supported. 2. HTTPS proxy is not supported in JetBrains currently @@ -127,7 +125,7 @@ This command should return a response from the instance, confirming that the pro 3. Import the certificate into the `Trusted Root Certification Authorities` store. 4. Confirm that the certificate is listed and trusted. - Please confirm with your IT Administrator to ensure you trusting the right certificate. + Please confirm with your IT Administrator to ensure you trust the right certificate. When adding self-signed certificates, try making a `curl` request routed through the HTTPS proxy to check if the computer uses the self-signed certificate. Your request will look something like: @@ -137,4 +135,4 @@ curl -x https://proxy_ip https://destination_ip ### Additional Support -If you need further assistance with proxy configurations, especially for special enterprise setups, please contact the Cody support team. They can provide guidance tailored to your specific network environment. +Please get in touch with the Cody support team if you need further assistance with proxy configurations, especially for special enterprise setups. They can provide guidance tailored to your specific network environment.