sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.53k stars 261 forks source link

Disable autocompletion inside comments setting has no effect #5103

Open jblachly opened 1 month ago

jblachly commented 1 month ago

Version

1.28.1

Describe the bug

As suggested in #3038 , I also find it extremely valuable to disable completion inside comments. In particular, it is especially bad when trying to build a table using the <tab> key for doc comments. Unfortunately, the new setting added in #3049 ("cody.autocomplete.disableInsideComments": true) seems to have no effect in my Rust codebase.

Expected behavior

I expect the setting to function as described.

Additional context

https://github.com/user-attachments/assets/5b10f9d6-c9ca-4edc-9d23-e4e6b5e9d097

jdorfman commented 1 month ago

Thanks @jblachly I will make sure the product team sees this in the weekly community feedback report.

sextoncapital commented 2 weeks ago

Seconding this - it fails in C# too. Also note that at the moment I don't believe there's any option for this in Jetbrains IDE's.