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: docs/cody/troubleshooting.mdx
+46Lines changed: 46 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,52 @@ This issue occurs because JCEF isn't supported in Android Studio and causes Cody
237
237
1. Select the last option.
238
238
1. Restart Android Studio.
239
239
240
+
## Visual Studio extension
241
+
242
+
### Access Cody logs
243
+
244
+
Visual Studio logs can be accessed via the **Output** panel. To access logs:
245
+
246
+
- Open `View -> Output` from the main menu
247
+
- Select `Cody` output pane
248
+
249
+

250
+
251
+
### Autocomplete
252
+
253
+
Cody autocomplete for Visual Studio uses the underlying VS API to display completions in the editor. It's turned on by default in VS (`Tools -> Options -> IntelliCode -> Show Inline Completions`). Without this setting enabled, autocomplete will not work, so this is the first thing to check.
Also make sure that `Tools -> Options -> Cody -> Automatically trigger completions` is turned on (it is by default).
258
+
259
+

260
+
261
+
Autocomplete is supported from Visual Studio 17.6+ and includes support for the following languages:
262
+
263
+
1. C/C++/C#
264
+
2. Python
265
+
3. JavaScript/TypeScript/TSX
266
+
4. HTML
267
+
5. CSS
268
+
6. JSON
269
+
270
+
#### Non-trusted certificates
271
+
272
+
If autocomplete still doesn't work (or the Cody Chat), you could try **turning on** the option to `accept non-trusted certificates` (requires Visual Studio restart). This should help, especially in enterprise settings if you are behind a firewall.
The detailed logging configuration can be turned on by adding the `CODY_VS_DEV_CONFIG` environment variable containing the full path to [the configuration file](https://github.com/sourcegraph/cody-vs/blob/main/src/CodyDevConfig.json) placed somewhere in the filesystem.
279
+
280
+

281
+
282
+
Two additional output panes, `Cody Agent` and `Cody Notifications`, will be created with more detailed logs. More information on how to configure them is available [here](https://github.com/sourcegraph/cody-vs/blob/main/CONTRIBUTING.md#developer-configuration-file).
0 commit comments