Skip to content

Don't suggest snippets in void places #1304

Closed

Description

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

Activity

  1. added
    feature-request
    on Dec 14, 2015
  2. added
    typescript
    on Dec 14, 2015
  3. changed the title [-]TS: Do not propose snippets when completing an object literal[/-] [+]Don't propose snippets in void places[/+] on Apr 5, 2016
  4. asvetliakov commented on Apr 5, 2016

    @asvetliakov

    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.

  5. evanw commented on Jul 31, 2016

    @evanw

    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.

  6. evanw commented on Jul 31, 2016

    @evanw

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

  7. mrmlnc commented on Jul 31, 2016

    @mrmlnc
    Contributor

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

  8. changed the title [-]Don't propose snippets in void places[/-] [+]Don't suggest snippets in void places[/+] on Nov 21, 2016
  9. mjbvz commented on Feb 3, 2017

    @mjbvz
    Contributor

    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?

  10. amackintosh commented on Jul 23, 2017

    @amackintosh

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

  11. DavidBabel commented on Nov 26, 2018

    @DavidBabel

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

    Intellisense should provide imports items before any snippets

  12. added and removed
    typescript
    on Nov 3, 2020
  13. added
    *out-of-scope
    on Nov 3, 2020
  14. vscode-triage-bot commented on Nov 3, 2020

    @vscode-triage-bot

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*out-of-scopefeature-requestsnippets

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions