Skip to content

Feature request: wrap selected text with parentheses or quotes when typing corresponding symbol #2286

Description

@dm1sh

Use Cases

Putting parentheses or quotes around already typed text.

Proposal

Handle presses of symbols that are typically used to wrap text: when a text selection exists, insert the symbol at both the beginning and the end of the selection. When no text is selected, type normally.

Proposed list of such symbols: "`()[]{}<>*„“”«». For paired symbols, insert the corresponding opening symbol at the start of the selection and its matching closing symbol at the end.

This feature is implemented in VS Code on desktop, and on Android I believe it exists in HeliBoard as well.

References

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementRequest for a new feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions