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

Utility to Define Multi-Line Snippets #2

Open
SirWobbyTheFirst opened this issue Oct 11, 2024 · 0 comments
Open

Utility to Define Multi-Line Snippets #2

SirWobbyTheFirst opened this issue Oct 11, 2024 · 0 comments

Comments

@SirWobbyTheFirst
Copy link

So I just installed the plugin today and have started building i[ my snippets, most of them however are multiple lines long which the plugin does not support from the PowerToys Run GUI, it only pastes the first line of the snippet and nothing else. However I have found that the snippets are stored in snippets.json file and I can edit this manually with VS Code, escaping backslashes, quotes, newlines, etc. and then restarting PowerToys.

So as a suggestion, it would be nice to have support for defining multiple line snippets, perhaps the plugin could detect an escaped character in the content and put it into the JSON file as is. Or perhaps there could be a utility to manage the snippets manually and then trigger the plugin to reload the changes?

What do you think?

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