Skip to content

Utility to Define Multi-Line Snippets #2

@SirWobbyTheFirst

Description

@SirWobbyTheFirst

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions