This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
Add support for variables LINE_COMMENT
, BLOCK_COMMENT_START
…
#21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…and
BLOCK_COMMENT_END
.These are three of the four snippet variables that VSCode supports and we don't. You can do some nifty stuff with these, as
pulsar
#970's description illustrates.The only one we don't yet support is
UUID
, and I've set that up so that we get it for free whenever we upgrade Electron. We are this close (imagine an index finger and a thumb very close together) to having a version of node withcrypto.randomUUID
; it'll basically happen whenever we upgrade Electron, even if it's a tiny bump. So I also made it so that theUUID
unit tests will start running automatically as well in that scenario.Would love to get this merged a few days before the 15th so I have time to make a PR that bumps
snippets
. (This is one of the very few remaining bundled packages in a separate repo — maybe the only one left? I'll have to address that soon.)Testing
Wrote some new specs. If they pass, we're good to go.