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

Feature request for Ctrl+i #70

Open
PavelDvorak opened this issue Dec 7, 2021 · 1 comment
Open

Feature request for Ctrl+i #70

PavelDvorak opened this issue Dec 7, 2021 · 1 comment

Comments

@PavelDvorak
Copy link

hello! thanks for the great generator!

few feature requests:

  1. After pressing ctrl+i while having a word "dataset" selected, the generated placeholder should be ${1:dataset} instead of ${1:example}.
    As of now, when i select "dataset" and press ctrl+i, it is replaced by ${1:example}
  2. The Ctrl+i placeholders should auto-increment, ie first press generates ${1:example}, unless it exists already, second press should generate ${2:example}, unless it exists already, etc

thanks, and take care!

@pranayrauthu
Copy link
Contributor

Hi,
First feature is a good one to have. There are some open questions with the second one. There are cases where user want to actually have same caret location. Also, we are not sure where the caret locations are going to be.
Ex:
image

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

2 participants