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 suggestion]: Keybinding for smart selection. #8

Open
yysuen opened this issue Mar 24, 2022 · 0 comments
Open

[Feature suggestion]: Keybinding for smart selection. #8

yysuen opened this issue Mar 24, 2022 · 0 comments

Comments

@yysuen
Copy link
Contributor

yysuen commented Mar 24, 2022

In VS Code, a selection is trigger when we press ctrl/command + d.

Is it possible that the extension reacts to ctrl/command + d keybinding when there's selected text in cache.

The final effect is when focus the cursor on any position of abc-def-gh, press ctrl/command + d for the first time, abc (for example) is auto-selected by VS Code. Then press the same keybinding for the second time, the extension reads selected text with VS Code API and extends selection to the whole variable abc-def-gh.

I'm not sure if I made myself clear.

@antfu

Best wishes

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