TylerLeonhardt / vscode-msft-todo-unofficial

MIT License
23 stars 7 forks source link

Todos with with file/branch reference #8

Open digitarald opened 3 years ago

digitarald commented 3 years ago

Hypotheses: Devs often manage todo's related to specific files, issues and feature branches. Todos with those references should be easy to create in VS Code, but also easy to open later on.

TylerLeonhardt commented 3 years ago

This is cool so the extension is less about "a look at your To-Do from your editor" and more about being integrated into it.

christales commented 2 years ago

Perhaps this could also be expanded by the ability to create new tasks from within the editor as well?

Process idea:

  1. User utilizes a keyword in a comment, specifying at least the task title, eg. /* MSTD _task title_ [options?]*/ in TODO Tree fashion, or similar
  2. Extension finds the RegExp & creates a task draft in a separate local list (not synced)
  3. User assigns the details (such as list, due date, etc.) to the draft & the list gets synchronized upon creating the new task with (file/link) reference Alt.: User utilizes [options] to specify the above (ideally with autosuggestions)
  4. Extension indexes the original MSTD keyword for faster lookup
  5. Extension warns User if there are unsaved drafts upon leaving VSC

I know this seems a bit far-fetched, but perhaps one day?

TylerLeonhardt commented 2 years ago

I feel like a good first step is just having a lightbulb next to existing TODO's that lets you create an item in the Microsoft To-Do extension with some of the info pre-filled.