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)
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)