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
See attached screen shot, I have many snippets defined and they are the only entries that show up when I auto complete inside an object literal, which is weird imho:
Reacted by nevada_scout, Dmitrii Pikulin, Nathan Malishev, Matt Bierner, Alexander, Victor Garcia, KamasamaK, Ruben Prins and Kevin Lin
Is it possible to introduce setting to disable default snippets completely until this fixed? I'm rarely using default snippets for example and i'd choose to not have them instead messing with completion list.
Reacted by nevada_scout, Damien Frikha, Atsushi Morimoto, Evan Wallace, Dmitrii Pikulin, Victor Garcia, Alexander and MartinGC94
Snippets are constantly getting in my way. I never use them and I would love the ability to disable them except I think it's currently impossible. A preference to disable the snippets feature would be amazing.
alexandrudima I don't think this is TypeScript specific. Is there any way to excluded language snippets from specific scopes, similar to how we can defined "notIn": ["string", "comment"] for autoClosingPairs?
+1 I'd like to be able to remove snippets. I created one called "log" to mimic the Atom snippet, so that when i type log+tab, it puts in "console.log()", but the default snippet is some HTML one that is no use to me.
It would be amazing if I could simply turn specific ones off. I am finding it extremely hard to research this aspect of snippets.
The user defined snippets should allow you to specify them as the default. Then, I could work-around the garbage duplicate snippet.
We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
Activity
[-]TS: Do not propose snippets when completing an object literal[/-][+]Don't propose snippets in void places[/+]asvetliakov commentedon Apr 5, 2016
Is it possible to introduce setting to disable default snippets completely until this fixed? I'm rarely using default snippets for example and i'd choose to not have them instead messing with completion list.
evanw commentedon Jul 31, 2016
Snippets are constantly getting in my way. I never use them and I would love the ability to disable them except I think it's currently impossible. A preference to disable the snippets feature would be amazing.
mrmlnc commentedon Jul 31, 2016
Evan Wallace (@evanw),
In July (v1.4.0): https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/July_2016.md#snippets-and-suggestions
evanw commentedon Jul 31, 2016
That's awesome, thanks for the pointer! It looks like v1.4.0 isn't available yet (the app is at v1.3.1 and says no updates are currently available).
mrmlnc commentedon Jul 31, 2016
This is insider version. The new version will be available on next week (1-10 August).
[-]Don't propose snippets in void places[/-][+]Don't suggest snippets in void places[/+]mjbvz commentedon Feb 3, 2017
alexandrudima I don't think this is TypeScript specific. Is there any way to excluded language snippets from specific scopes, similar to how we can defined
"notIn": ["string", "comment"]forautoClosingPairs?amackintosh commentedon Jul 23, 2017
+1 I'd like to be able to remove snippets. I created one called "log" to mimic the Atom snippet, so that when i type log+tab, it puts in "console.log()", but the default snippet is some HTML one that is no use to me.
It would be amazing if I could simply turn specific ones off. I am finding it extremely hard to research this aspect of snippets.
The user defined snippets should allow you to specify them as the default. Then, I could work-around the garbage duplicate snippet.
DavidBabel commentedon Nov 26, 2018
note that this includes imports too, if cursor is here :
import { | } from 'something';Intellisense should provide imports items before any snippets
vscode-triage-bot commentedon Nov 3, 2020
We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!