Ability to disable tab completion based on language type
Validations
- [ ] I believe this is a way to improve. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that requests the same enhancement
Problem
Currently, you can disable tab completions for particular file extensions e.g.
config.tabAutocompleteOptions = {
useOtherFiles: true,
disableInFiles: ['.env', '*.env', '*.md'],
};
However, it would also be useful to disable tab completions based on the currently set language mode. For example, if you create a new file and set the language mode to "markdown" you still get completions:
Solution
The VSCode way™ to do this would be to use language-override settings in a user's settings.json
For example I might have something like:
"[markdown]": {
"continue.enableTabAutocomplete": false,
// Any of my other settings ....
"editor.wordWrap": "off",
},
"[html]": {
// ...
},
// ...
However, continue settings don't seem to work with this feature:
Yes, my point is that this setting doesn't work with files that are not currently saved but have a particular language mode enabled.
Yeah sorry I totally skimmed over your issue before sending that : )
This is a nice idea—certainly annoying to be getting unwanted completions in empty files
Yes, it's particularly annoying in contexts where you might not necessarily need to save the file. For example a scratchpad for taking notes (a TODO-list for the next couple of hours) or experimenting with extensions like REST client
I'm not much of an extension developer, but looking at some other extensions that do support this, in VSCode at least might be as simple as adding the "scope" property to the existing config:
See here for an example.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
Still a feature that I would like.
That's censured I cannot disable autocompletion for files which are unsaved, my personal notes, etc. The AI intervenes and puts in its weird thoughts, and it can't be turned off
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
Still a feature that I would like.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
Still a feature that I would like.
(Sorry, I'm not trying to be annoying, I'm providing activity for the bot)
Still a feature that I would like.
Agreed.