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
{{ message }}
Repository navigation
Turn off Intellisense by file type and scope #10819
*duplicateIssue identified as a duplicate of another issue(s)feature-requestRequest for new features or functionalitysuggestIntelliSense, Auto Complete
Johannes Rieken (@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
editor.wordBasedCompletion: false
// blanket enabled for everything
editor.wordBasedCompletion: true
// on for everything except for file types in the exclude list.
editor.wordBasedCompletion: {
exclude: [".md", ".txt", ".text"]
}
// off for everything except for file types in the inclusion list.
editor.wordBasedCompletion: {
include: [".js", ".cs"]
}
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.
```javascriptsetTimeout(...
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.
Johannes Rieken (@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. 😄
*duplicateIssue identified as a duplicate of another issue(s)feature-requestRequest for new features or functionalitysuggestIntelliSense, Auto Complete
Activity
[-]Customize Intellisense by file type. [/-][+]Turn off Intellisense by file type. [/+]jrieken commentedon Aug 23, 2016
Nathan Hammond (@nathanhammond) As a global workaround you can turn off all textual completions with
editor.wordBasedCompletion: falsenathanhammond commentedon Aug 23, 2016
Johannes Rieken (@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).
zachCatalyst commentedon Aug 24, 2016
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
editor.wordBasedCompletion: false
// blanket enabled for everything
editor.wordBasedCompletion: true
// on for everything except for file types in the exclude list.
editor.wordBasedCompletion: {
exclude: [".md", ".txt", ".text"]
}
// off for everything except for file types in the inclusion list.
editor.wordBasedCompletion: {
include: [".js", ".cs"]
}
jrieken commentedon Aug 24, 2016
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...
nathanhammond commentedon Aug 24, 2016
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.
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.
[-]Turn off Intellisense by file type. [/-][+]Turn off Intellisense by file type and scope[/+]jrieken commentedon Jan 27, 2017
Nathan Hammond (@nathanhammond) fyi with the January release we have enabled language specific settings, so you could have:
nathanhammond commentedon Jan 31, 2017
Johannes Rieken (@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. 😄
jrieken commentedon Jan 31, 2017
dupe of #1657