Skip to content

Snippet replace when before prefix #86386

Closed

Description

Tested all three cases for foo, f|oo and foo| work as expected but |foo doesn't.

Snippet

{
	 "Print to console": {
		"prefix": "foo",
		"body": [
			"console.log('$1');"
		],
		"description": "Log foo to console"
	}

}
  • Put cursor before foo
  • Trigger suggest
  • Move focus to foo snippet in suggest widget
  • Shift+Tab and Tab behave the same

Originally posted by Peng Lyu (@rebornix) in #83834 (comment)

Activity

  1. added
    bug
    suggest
    on Dec 5, 2019
  2. added a commit that references this issue on Dec 7, 2019
    fe37ea7
  3. locked and limited conversation to collaborators on Jan 23, 2020
  4. added
    verified
    on Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugsnippetssuggestverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions