Skip to content
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

Wrap with VS Code snippets #35

Open
ilKhr opened this issue Aug 23, 2022 · 0 comments
Open

Wrap with VS Code snippets #35

ilKhr opened this issue Aug 23, 2022 · 0 comments

Comments

@ilKhr
Copy link

ilKhr commented Aug 23, 2022

I found a way to wrap the selected text using the built-in VS Code functions.

It all started with this update.

vs-code-wrap-snippet

My snippet:

  "Custom Function Wrapper": {
    "prefix": "customWrap",
    "body": ["${1}($TM_SELECTED_TEXT$0)"],
    "description": "Wrap selection ranges to custom function"
  }

I hope this will help someone save time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant