-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snippets variable not resolved in JSON proposal #52931
Comments
The terminal sets the default for |
@sandy081 where do these completions come from? These aren't from the configuration-editing extension. I didn't change anything related to this (as far as I can tell) |
These come from JSON language server. |
Problem is a change in the snippet engine: {
"test": {
"prefix": "test",
"body": [
"\"terminal.integrated.shell.linux\": \"${1:/bin/bash}\"",
]
}
} |
This is a regression from #51621 |
@go2sh Supporting the non-standard transform |
@go2sh Sorry, but I don't wanna risk breaking more/other snippets and therefore I have un-done the custom snippet extensions. It now only supports We will ship the next stable release soon and therefore little risk can be taken. Lets revisit early July and lets check for better solution to your problem. |
Ahh sorry, I didn't thought about that. :-/ I totally understand that you have to revert this. With backward compatibility in mind, there is no easy way to extend the current behavior. Maybe we could use some other special char like |
Yeah, we should experiment with that. We can also take a look at existing, popular snippet extensions and see what kind of snippets they bring along |
Seen on Linux.
linux
, pick theterminal.integrated.shell.linux
suggestionYou'll end up with
You should've ended up with
The text was updated successfully, but these errors were encountered: