diff --git a/tools/vscode/CHANGELOG.md b/tools/vscode/CHANGELOG.md index 6b98e398b..1aa6a93f5 100644 --- a/tools/vscode/CHANGELOG.md +++ b/tools/vscode/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.3.33 + +- Fix bug that prevented run, debug buttons from appearing for tasks whose function declarations spanned more than single line. + ## 0.3.32 - Properly resolve log directory when showing log view using `cmd+L` diff --git a/tools/vscode/src/providers/codelens/codelens-provider.ts b/tools/vscode/src/providers/codelens/codelens-provider.ts index 7ecb5ce9c..f279169f0 100644 --- a/tools/vscode/src/providers/codelens/codelens-provider.ts +++ b/tools/vscode/src/providers/codelens/codelens-provider.ts @@ -76,4 +76,4 @@ class InspectCodeLensProvider implements CodeLensProvider { } } const kTaskDecoratorPattern = /^\s*@task\b/; -const kFuncPattern = /^\s*def\s*(.*)\(.*:$/; +const kFuncPattern = /^\s*def\s*(.*)\(.*$/;