cake-build / cake-build/cake-vscode
"run task" and "debug task" shortcuts only appear when task name is a string literal
- Dominant language
- TypeScript
- Stars
- 45
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
The following will be decorated with the "run task" and "debug task" shortcuts
```csharp
Task("GenerateReport")
.Does(TestTasks.GenerateReport);
```
However this will not:
```csharp
Task(nameof(TestTasks.GenerateReport))
.Does(TestTasks.GenerateReport);
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the shortcut detection behavior in the VS Code extension with the two C# task declarations shown. Trace the task-name recognition entry point and make the issue's "nameof(TestTasks.GenerateReport)" form receive the same run and debug shortcuts as the string-literal form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100