From 0cf028176ea00f89226cf124219db5d76540446a Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Thu, 12 Nov 2026 13:02:51 +0000 Subject: [PATCH 1/3] Add pre-activation global Flutter commands to package.json --- package.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a4c7dfa..96dfd36 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,23 @@ ], "main": "./out/dist/extension", "contributes": { - "commands": [] + "commands": [ + { + "command": "flutter.createProject", + "title": "Create New Project", + "category": "Flutter" + }, + { + "command": "flutter.doctor", + "title": "Run Flutter Doctor", + "category": "Flutter" + }, + { + "command": "flutter.upgrade", + "title": "Run Flutter Upgrade", + "category": "Flutter" + } + ] }, "scripts": { "vscode:prepublish": "npm run compile", From dc9d22d97c5c52245994c30fbc322e53e02fa5d7 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Thu, 12 Nov 2026 15:43:12 +0000 Subject: [PATCH 2/3] Note that contributed commands are implemented in Dart-Code --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 96dfd36..9ea4582 100644 --- a/package.json +++ b/package.json @@ -55,17 +55,20 @@ { "command": "flutter.createProject", "title": "Create New Project", - "category": "Flutter" + "category": "Flutter", + "//": "Implemented in the Dart-Code extension." }, { "command": "flutter.doctor", "title": "Run Flutter Doctor", - "category": "Flutter" + "category": "Flutter", + "//": "Implemented in the Dart-Code extension." }, { "command": "flutter.upgrade", "title": "Run Flutter Upgrade", - "category": "Flutter" + "category": "Flutter", + "//": "Implemented in the Dart-Code extension." } ] }, From fc272314b37b3354ca6020a14c48b27e30ee792e Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Thu, 12 Nov 2026 15:45:34 +0000 Subject: [PATCH 3/3] Place '//' comment first in each command entry --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 9ea4582..5ccdd22 100644 --- a/package.json +++ b/package.json @@ -53,22 +53,22 @@ "contributes": { "commands": [ { + "//": "Implemented in the Dart-Code extension.", "command": "flutter.createProject", "title": "Create New Project", - "category": "Flutter", - "//": "Implemented in the Dart-Code extension." + "category": "Flutter" }, { + "//": "Implemented in the Dart-Code extension.", "command": "flutter.doctor", "title": "Run Flutter Doctor", - "category": "Flutter", - "//": "Implemented in the Dart-Code extension." + "category": "Flutter" }, { + "//": "Implemented in the Dart-Code extension.", "command": "flutter.upgrade", "title": "Run Flutter Upgrade", - "category": "Flutter", - "//": "Implemented in the Dart-Code extension." + "category": "Flutter" } ] },