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

Implementation of the Vscode "surround highlighted" feature #391

Open
GuillaumeLeroy34 opened this issue Jan 6, 2025 · 0 comments
Open
Labels
About GAML Editor 🤗 Enhancement This is a request for enhancement

Comments

@GuillaumeLeroy34
Copy link

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)

@lesquoyb lesquoyb added 🤗 Enhancement This is a request for enhancement About GAML Editor labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
About GAML Editor 🤗 Enhancement This is a request for enhancement
Projects
None yet
Development

No branches or pull requests

2 participants