Exafunction / CodeiumJetBrains

Codeium JetBrains Plugin
MIT License
41 stars 13 forks source link

Setting to disable in comments #8

Open pqn opened 5 months ago

pqn commented 5 months ago

Would be implemented in a way similar to: https://github.com/Exafunction/codeium.vim/issues/29#issuecomment-1771907425

romanstingler commented 5 months ago

@pqn question, I have codeium running in VSCode and if I untick the checkbox image I still get autocompletions. v1.7.27

ie EditorManager.kt // Check if autocomplete window is open (this also binds to the tab key) when i add a space and an 'a' I get suggestions. Already restarted VSCode

pqn commented 5 months ago

@kevinzlu we probably need to extend the IsComment function to include line_comment and multiline_comment instead of just comment, would you mind doing this/making a ticket for this since you just took a look at Kotlin?

kevinzlu commented 5 months ago

Got it, I can take a look here.

ZaLiTHkA commented 5 months ago

I still get autocompletions. v1.7.27

ie EditorManager.kt // Check if autocomplete window is open (this also binds to the tab key) when i add a space and an 'a' I get suggestions. Already restarted VSCode

just a thought, but could this perhaps be language-specific..? or perhaps some change in the pre-release version that's affecting this?

I've just tested again on my end using the latest stable (1.6.27, not the pre-release) and I don't get any Codeium suggestions in either line or block comments in my JS and TS files.

(edit): FWIW, this issue was created in response to an email that I sent, requesting that this option to be added to the JetBrains plugin as well..

romanstingler commented 5 months ago

@kevinzlu I can confirm that in .ts files this doesn't happen. with 1.6.27 and 1.7.27 so must be a language specific issue