Skip to content

Snippet suggestion triggered incorrectly #6320

@23min

Description

@23min
  • VSCode Version: Version 1.1.0 (1.1.0)
  • OS Version: Mac OS X Yosemite 10.10.5 (14F27)

Steps to Reproduce:

  1. Create a user snippet with a prefix "sup"
    (I created mine in ~/Library/Application Support/Code/User/snippets/elixir.json)
  2. In a file matching the language, type S or s, intellisense correctly suggests snippet "sup"
  3. When proceeding to type non-matching characters, e.g. erv intellisense still suggests snippet "sup"

screenshot 2016-05-12 13 26 23

Expected behavior:

When the typed characters no longer match the start of a snippet prefix, the snippet suggestion should not be shown.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions