Skip to content

Implementation of the Vscode "surround highlighted" feature #391

Description

@GuillaumeLeroy34

The problem
when writing code, it is somewhat more natural for me to first write the name of the variable I want to create, then add the decorator to specify it's type. However, this proves to be a frustrating experience because of the way typing surrounding decorators including but not limited by {} () and [].

a solution proposal

VSCode has a feature that allows the user to highlight a string of characters, then add the decorators. this makes declaring lists and changing them if the need arise considerably easier.

Improvement suggested
I would like to be able to highlight part of my code such as the name of a variable, and while it's highlighted press for instance the key "(" to automatically surround the highlighted text with both parenthesis, like this:

test_string(test_string)

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

    About GAML EditorThis issue concerns the editor and its associated toolsEnhancementThis is a request for enhancement

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions