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 around (feature request) #18

Open
andrearicci opened this issue Oct 26, 2020 · 2 comments
Open

wrap around (feature request) #18

andrearicci opened this issue Oct 26, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@andrearicci
Copy link

andrearicci commented Oct 26, 2020

Hi, I'm sorry if this is not the right channel for a feature request:

I'd like the ability to insert the snippet wrapping it around a selection.

eg: snippet is something like <p>%selection%</p>, I highlight a selection and envelope it with a <p> tag
thnx

@devon2018
Copy link
Owner

Hi @andrearicci

Thanks for the suggestion, i'll keep this in mind for a future release.

@devon2018 devon2018 reopened this Oct 30, 2020
@devon2018 devon2018 added the enhancement New feature or request label Oct 30, 2020
@carloscadux
Copy link

Hi,

Please consider parsing variables like the following in the snippet content:
{TextSelection}
{CurrentWord}
It would be really handy to inserting wrapping snippets, whether the user has a 'text selection' or the cursor on the 'current word'.

For instance, the snippet content could be written this way:
image

Thank you!

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

No branches or pull requests

3 participants