iulianraduat / vscode-tasks-sidebar

A Visual Studio Code extension to display all tasks recognized by VSCode in sidebar
GNU General Public License v3.0
8 stars 1 forks source link

Create Groups #4

Open Jakob-Moe opened 5 days ago

Jakob-Moe commented 5 days ago

Is it possible to implement a function that allows to define own groups(in addition to shell, process and npm)?

This would allow to group Tasks in meaningful way for a clear overview in the sidebar.

iulianraduat commented 5 days ago

Hi @Jakob-Moe,

This sounds like a good idea.

How do you see it implemented? How and where do you want to define these groups?

Maybe you can provide some examples so I can get a better understanding of what you want to achieve.

Cheers, Iulian

Jakob-Moe commented 5 days ago

image

A quick solution might be to add pattern in the detail attribute which includes the group name. So it is possible to parse the detail string an create the groups and add task which the same group. For the display of the detail string by hover the task in the sidebar the Pattern can easily be removed.

image Display every group like the npm-group

iulianraduat commented 5 days ago

If there is a group hashtag in description, should it be removed from its default group? Most likely, there will be a setting for this.

Jakob-Moe commented 5 days ago

Yes. A setting for this sounds good.