-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off Intellisense by file type and scope #10819
Comments
@nathanhammond As a global workaround you can turn off all textual completions with |
@jrieken Indeed, but that cure is worse than the malady since the majority of the time I do want (and benefit tremendously) from textual completions. So rather than do that I simply moved my markdown editing into a different tool (also suboptimal). |
I've notice the same behaviour editing markdown that actually drove me to another tool (just for Markdown). Often I'll have a short todo list or notes in a plain text file this will happen to also, less often / irritating but similar. I would love to see something like: // blanket disabled for everything // blanket enabled for everything // on for everything except for file types in the exclude list. // off for everything except for file types in the inclusion list. |
Understood - I will tackle this in September. With it we should also think about configuring word based completions wrt strings and comments. Tho not interesting for markdown folks like or hate it... |
A "grand unified plan" of configuring it would be fantastic and I'm in no particular rush. Blacklists or whitelists at a global level provide some alleviation as a quick fix, but if instead everything were context aware you could provided completions inside of a Markdown code block that is annotated for a language. ```javascript
setTimeout(... So your proposal for taking context into account is valuable in many scenarios. So please don't feel unnecessarily pressured into the "quick fix" solution and take the time to design the solution that you actually want. |
@nathanhammond fyi with the January release we have enabled language specific settings, so you could have: "editor.wordBasedCompletion": true,
"[markdown]": {
"editor.wordBasedCompletion": false
} |
@jrieken Thanks for the ping, that does make life far smoother. The language specific settings actually work as a simple but elegant design. Regardless of how it is implemented now (maybe as a file type switch?) it allows for a future in which you detect the scope. Given you're closing things as duplicates of this issue I'll leave it open as a tracking issue for the thoughts you have on this. 😄 |
dupe of #1657 |
Steps to Reproduce:
This makes for a terrible Markdown editing experience.
The text was updated successfully, but these errors were encountered: