fabiospampinato / vscode-todo-plus

Manage todo lists with ease. Powerful, easy to use and customizable.
MIT License
908 stars 227 forks source link

Richer tags autocompletion #196

Open sahil48 opened 5 years ago

sahil48 commented 5 years ago

Currently when I type a tag, it shows a list of every tag that I have made, parenthesis included. For example, when I start to type in @no, I would see the following:

@note(note content 1)
@note(note content 2)
@note(note content 3)
@now

I propose that the tag name gets autocompleted first, and if the user types an opening parenthesis, then the note contents show up for autocompletion.

For example:

I type @no, and see @note, @now as autocomplete options. I accept @note and now type an opening parenthesis @note( and see @note(note content 1), @note(note content 2) @note(note content 3) as the autocomplete options.

P.S. Apologies if anyone got mentioned, since I did not keep the @ signs in code blocks.

fabiospampinato commented 5 years ago

It sounds reasonable, PR welcome 👍