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

Allow to "wrap" a selected word when typing an opening bracket #727

Closed
mickaelistria opened this issue Mar 8, 2024 · 1 comment
Closed

Comments

@mickaelistria
Copy link
Contributor

From selected selectedWord in an editor (with LSP4E language config and bracket insertion enabled)
I type ( (or any single char what is matching one of the declared opening brackets)
EXPECTED: (selectedWord), wrapped with the brackets
GOT: ( word lost

The expected behavior is often more convenient and is used by some other code editors. The "legacy" behavior would only require user to type "DEL" before inserting there bracket, which isn't too much of a pain and seems minor compared to the comfort of the proposed behavior.

This echoes eclipse-platform/eclipse.platform.ui#865

@sebthom
Copy link
Member

sebthom commented Mar 8, 2024

Please try the latest snapshot.

@sebthom sebthom closed this as completed Mar 11, 2024
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