{ "name": "flutter-runner", "displayName": "Flutter Runner", "description": "Flutter 命令快捷按钮面板,支持调试、热重载、热重启", "version": "1.1.0", "publisher": "mom-kitchen", "engines": { "vscode": "^1.74.0" }, "categories": ["Other"], "activationEvents": ["onView:flutterRunner"], "main": "./extension.js", "contributes": { "viewsContainers": { "activitybar": [ { "id": "flutter-runner", "title": "Flutter Runner", "icon": "resources/icon.svg" } ] }, "views": { "flutter-runner": [ { "id": "flutterRunner", "name": "Commands" } ] }, "commands": [ { "command": "flutterRunner.run", "title": "Flutter: Run (选择设备)", "icon": "$(device-mobile)" }, { "command": "flutterRunner.runDebug", "title": "Flutter: Run Debug", "icon": "$(play)" }, { "command": "flutterRunner.runProfile", "title": "Flutter: Run Profile", "icon": "$(graph)" }, { "command": "flutterRunner.hotReload", "title": "Flutter: Hot Reload", "icon": "$(refresh)" }, { "command": "flutterRunner.hotRestart", "title": "Flutter: Hot Restart", "icon": "$(sync)" }, { "command": "flutterRunner.stopDebug", "title": "Flutter: Stop Debug", "icon": "$(debug-stop)" }, { "command": "flutterRunner.clean", "title": "Flutter: Clean", "icon": "$(trash)" }, { "command": "flutterRunner.pubGet", "title": "Flutter: Pub Get", "icon": "$(package)" }, { "command": "flutterRunner.build", "title": "Flutter: Build", "icon": "$(gear)" } ], "menus": { "view/title": [ { "command": "flutterRunner.runDebug", "when": "view == flutterRunner", "group": "navigation@1" }, { "command": "flutterRunner.hotReload", "when": "view == flutterRunner", "group": "navigation@2" }, { "command": "flutterRunner.stopDebug", "when": "view == flutterRunner", "group": "navigation@3" } ] }, "keybindings": [ { "command": "flutterRunner.hotReload", "key": "ctrl+f5", "mac": "cmd+f5", "when": "debugType == dart" }, { "command": "flutterRunner.hotRestart", "key": "ctrl+shift+f5", "mac": "cmd+shift+f5", "when": "debugType == dart" } ] } }