Vscode: Don't suggest snippets in void places

Created on 14 Dec 2015  路  11Comments  路  Source: microsoft/vscode

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:

screen shot 2015-12-14 at 19 29 35

*out-of-scope feature-request snippets

Most helpful comment

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.

All 11 comments

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.

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.

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).

This is insider version. The new version will be available on next week (1-10 August).

@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.

note that this includes imports too, if cursor is here :
import { | } from 'something';

Intellisense should provide imports items before any snippets

image

Please allow us options to remove these keywords. As a beginner of Python, I find it takes longer to find from the list the code I was looking for. C# in VS was perfect however.

is it possible to insert snippet when the cursor is inside a string?
would be great

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

biij5698 picture biij5698  路  3Comments

vsccarl picture vsccarl  路  3Comments

mrkiley picture mrkiley  路  3Comments

philipgiuliani picture philipgiuliani  路  3Comments

borekb picture borekb  路  3Comments