From 93847ce649b21e8646eca74ace03597bf7a4c507 Mon Sep 17 00:00:00 2001 From: pq Date: Thu, 6 Feb 2025 11:47:14 -0800 Subject: [PATCH] [productivity] server test launch config and generate task Bug: https://github.com/dart-lang/sdk/issues/60070 Change-Id: Ia7dea87b6b2ac3c74745bb81807fe7347f1a552a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408340 Reviewed-by: Keerti Parthasarathy Commit-Queue: Phil Quitslund --- pkg/analysis_server/.gitignore | 2 ++ pkg/analysis_server/.vscode/launch.json | 11 +++++++++++ pkg/analysis_server/.vscode/tasks.json | 11 +++++++++++ pkg/linter/.gitignore | 2 ++ pkg/linter/.vscode/launch.json | 11 +++++++++++ 5 files changed, 37 insertions(+) create mode 100644 pkg/analysis_server/.gitignore create mode 100644 pkg/analysis_server/.vscode/launch.json create mode 100644 pkg/analysis_server/.vscode/tasks.json create mode 100644 pkg/linter/.gitignore create mode 100644 pkg/linter/.vscode/launch.json diff --git a/pkg/analysis_server/.gitignore b/pkg/analysis_server/.gitignore new file mode 100644 index 00000000000..5065ec866c4 --- /dev/null +++ b/pkg/analysis_server/.gitignore @@ -0,0 +1,2 @@ +# Include the vscode directory so we can share launch and task configs. +!.vscode diff --git a/pkg/analysis_server/.vscode/launch.json b/pkg/analysis_server/.vscode/launch.json new file mode 100644 index 00000000000..34d6e8af178 --- /dev/null +++ b/pkg/analysis_server/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "test: all", + "request": "launch", + "type": "dart", + "program": "test/test_all.dart", + } + ] +} \ No newline at end of file diff --git a/pkg/analysis_server/.vscode/tasks.json b/pkg/analysis_server/.vscode/tasks.json new file mode 100644 index 00000000000..243f0cd813c --- /dev/null +++ b/pkg/analysis_server/.vscode/tasks.json @@ -0,0 +1,11 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "generate files", + "type": "shell", + "command": "tool/spec/generate_files", + "problemMatcher": [] + } + ] +} \ No newline at end of file diff --git a/pkg/linter/.gitignore b/pkg/linter/.gitignore new file mode 100644 index 00000000000..5065ec866c4 --- /dev/null +++ b/pkg/linter/.gitignore @@ -0,0 +1,2 @@ +# Include the vscode directory so we can share launch and task configs. +!.vscode diff --git a/pkg/linter/.vscode/launch.json b/pkg/linter/.vscode/launch.json new file mode 100644 index 00000000000..f68d3f57ca1 --- /dev/null +++ b/pkg/linter/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "test: all", + "request": "launch", + "type": "dart", + "program": "test/all.dart", + } + ] +} \ No newline at end of file