{ "name": "getting-started-sample", "displayName": "getting-started-sample", "description": "Example extension contribution to Getting Started page", "version": "0.0.1", "publisher": "vscode-samples", "private": true, "license": "MIT", "repository": "https://github.com/Microsoft/vscode-extension-samples/getting-started-sample", "engines": { "vscode": "^1.100.0" }, "categories": [ "Other" ], "activationEvents": [ "onCommand:getting-started-sample.runCommand", "onCommand:getting-started-sample.changeSetting", "onCommand:getting-started-sample.setContext", "onCommand:getting-started-sample.sayHello", "onCommand:getting-started-sample.viewSources" ], "main": "./out/extension.js", "contributes": { "menus": { "file/newFile": [ { "command": "getting-started-sample.sayHello" } ] }, "commands": [ { "title": "Getting Started Sample: Say Hello", "shortTitle": "Say Hello (This is the name used in the New File quick pick)", "command": "getting-started-sample.sayHello" } ], "walkthroughs": [ { "id": "sample", "title": "Sample", "description": "A sample walkthrough", "steps": [ { "id": "runcommand", "title": "Run Command", "description": "This step will run a command and check off once it has been run.\n[Run Command](command:getting-started-sample.runCommand)", "media": { "image": "media/image.png", "altText": "Empty image" }, "completionEvents": [ "onCommand:getting-started-sample.runCommand" ] }, { "id": "changesetting", "title": "Change Setting", "description": "This step will change a setting and check off when the setting has changed\n[Change Setting](command:getting-started-sample.changeSetting)", "media": { "image": "media/image.png", "altText": "Empty image" }, "completionEvents": [ "onSettingChanged:getting-started-sample.sampleSetting" ] }, { "id": "setcontext", "title": "Set Context", "description": "This step will set a context key, and check off when that context has been set\n[Set Context](command:getting-started-sample.setContext)", "media": { "image": "media/image.png", "altText": "Empty image" }, "completionEvents": [ "onContext:gettingStartedContextKey" ] }, { "id": "install python extension", "title": "Install Python Extension", "description": "Click here to install the Python Extension. This step will complete once it has been installed.\n[Here](command:workbench.extensions.installExtension?%22ms-python.python%22)", "media": { "image": "media/image.png", "altText": "Empty image" }, "completionEvents": [ "extensionInstalled:ms-python.python" ] }, { "id": "open terminal view", "title": "Open Terminal", "description": "Click [here](command:workbench.action.terminal.toggleTerminal) to open terminal. This step will complete once the terminal has been opened.", "media": { "image": "media/image.png", "altText": "Empty image" }, "completionEvents": [ "onView:terminal" ] }, { "id": "usesvg", "title": "Use SVG's", "description": "Try out using SVG's in your content, they can react to the theme (try: ``var(--vscode-foreground)``) and even host command links (try: ``xlink:href=\"command:``)", "media": { "svg": "media/image.svg", "altText": "Empty svg image" } }, { "id": "mac", "title": "UI Platform: Mac", "description": "This step will only show on a Mac.", "when": "isMac", "media": { "markdown": "media/mac.md" } }, { "id": "windows", "title": "UI Platform: Windows", "description": "This step will only show on Windows", "when": "isWindows", "media": { "markdown": "media/windows.md" } }, { "id": "linux", "title": "UI Platform: Linux", "description": "This step will only show on Linux", "when": "isLinux", "media": { "markdown": "media/linux.md" } }, { "id": "macRemote", "title": "Workspace Platform: Mac", "description": "This step will only show on Mac remotes.", "when": "workspacePlatform == 'mac'", "media": { "markdown": "media/mac.md" } }, { "id": "windowsRemote", "title": "Workspace Platform: Windows", "description": "This step will only show on Windows remotes", "when": "workspacePlatform == 'windows'", "media": { "markdown": "media/windows.md" } }, { "id": "linuxRemote", "title": "Workspace Platform: Linux", "description": "This step will only show on Linux remotes", "when": "workspacePlatform == 'linux'", "media": { "markdown": "media/linux.md" } }, { "id": "webRemote", "title": "Workspace Platform: Web", "description": "This step will only show on webworker remotes", "when": "workspacePlatform == 'webworker'", "media": { "markdown": "media/linux.md" } }, { "id": "showSources", "title": "View Sources", "description": "Open a folder containg the sources of this extension.\n[View Sources](command:getting-started-sample.viewSources)", "media": { "image": "media/image.png", "altText": "Empty image" } } ] } ], "configuration": { "title": "Getting Started Sample", "properties": { "getting-started-sample.sampleSetting": { "description": "Sample setting", "type": "boolean" } } } }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "lint": "eslint", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "test": "node ./out/test/runTest.js" }, "devDependencies": { "@eslint/js": "^9.13.0", "@stylistic/eslint-plugin": "^2.9.0", "@types/node": "^22", "@types/vscode": "^1.100.0", "eslint": "^9.13.0", "typescript": "^5.9.2", "typescript-eslint": "^8.39.0" } }