Summary
In the "Run Task" quick pick (vscode-task.runTaskPicker / runTaskPickerWithArgs), the separator that precedes the tasks of a Taskfile uses the absolute path of the Taskfile as its label. VS Code renders a separator label on the right side of the first item below it, so the first task's description gets squeezed to a few characters ("Top...") while the following tasks show their description in full.
Steps to reproduce
- Workspace folder with a
Taskfile.yml in a reasonably deep path, e.g. /Users/<user>/repos/<org>/<project>/<worktree>/Taskfile.yml.
- Three tasks with short names and a
desc each.
- Run "Task: Run Task" (quick pick).
Observed
topic-build Top... /Users/<user>/repos/<org>/<project>/<worktree>/Taskfile.yml
topics-menu Topics-Menü im Browser
topics-menu-stop Topics-Menü stoppen
Only the first item loses its description; the separator label (full path) takes the space.
Expected
All items show their description. The separator should carry something short, e.g. the Taskfile path relative to the workspace folder (Taskfile.yml) or the workspace folder name, with the full path available as tooltip or detail.
Where
_loadTasksFromTaskfile() builds the list as [new Separator(taskfile.location), ...tasks]; location is the absolute path.
Environment
- vscode-task 1.0.1
- VS Code 1.137.0, macOS
- Task 3.53.1
Summary
In the "Run Task" quick pick (
vscode-task.runTaskPicker/runTaskPickerWithArgs), the separator that precedes the tasks of a Taskfile uses the absolute path of the Taskfile as its label. VS Code renders a separator label on the right side of the first item below it, so the first task'sdescriptiongets squeezed to a few characters ("Top...") while the following tasks show their description in full.Steps to reproduce
Taskfile.ymlin a reasonably deep path, e.g./Users/<user>/repos/<org>/<project>/<worktree>/Taskfile.yml.desceach.Observed
Only the first item loses its description; the separator label (full path) takes the space.
Expected
All items show their description. The separator should carry something short, e.g. the Taskfile path relative to the workspace folder (
Taskfile.yml) or the workspace folder name, with the full path available as tooltip ordetail.Where
_loadTasksFromTaskfile()builds the list as[new Separator(taskfile.location), ...tasks];locationis the absolute path.Environment