Skip to content

Snippet replace when before prefix #86386

@jrieken

Description

@jrieken

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 @rebornix in #83834 (comment)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsnippetssuggestIntelliSense, Auto CompleteverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions