thamara / vscode-code-annotation

Code Annotation Extension for VSCode
https://marketplace.visualstudio.com/items?itemName=tkcandrade.code-annotation
GNU General Public License v3.0
67 stars 27 forks source link

When creating a note from selection, check if it contains a TODO and use the comment as text #1

Closed thamara closed 4 years ago

thamara commented 4 years ago

When creating a note from selection, check if it contains a TODO and use the comment as text (as the place holder text).

drishit96 commented 4 years ago

Hi @thamara, I would like to work on this

thamara commented 4 years ago

Great! I've assigned the issue to you. Let me know if you need more informations.

drishit96 commented 4 years ago

Do you want the annotation text to be the same as the TODO? So that when user presses enter without filling anything, the TODO text will get saved as the annotation?

thamara commented 4 years ago

Yes. My idea is that, if the user is selecting a portion of the code that includes a TODO, most likely is that TODO content that they want. So the idea is to prefill the text area for the description with that text, and, if the user hits enter, that text will be user. This way if the user still wants to add some other text, it's possible.