Skip to content

Commit

Permalink
update command and theme
Browse files Browse the repository at this point in the history
  • Loading branch information
endaye committed Nov 4, 2020
1 parent f86c980 commit a11ccbb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Project Da Vinci VS Code Extension",
"version": "0.0.3",
"engines": {
"vscode": "^1.49.0"
"vscode": "^1.50.0"
},
"license": "MIT",
"publisher": "ProjectDaVinci",
Expand All @@ -21,16 +21,16 @@
"url": "git+https://github.com/lilith-avatar/vscode-extension.git"
},
"activationEvents": [
"onCommand:project-da-vinci-vs-code-extension.helloWorld"
"onCommand:project-da-vinci-vs-code-extension.helloDaVinci"
],
"main": "./out/extension.js",
"contributes": {
"commands": [{
"command": "project-da-vinci-vs-code-extension.helloWorld",
"title": "Hello World"
"command": "project-da-vinci-vs-code-extension.helloDaVinci",
"title": "Hello Da Vinci"
}],
"themes": [{
"label": "Avatar Theme",
"label": "Da Vinci",
"uiTheme": "vs-dark",
"path": "./themes/avatar-color-theme.json"
}]
Expand Down Expand Up @@ -59,4 +59,4 @@
"optionalDependencies": {
"fsevents": "^2.2.0"
}
}
}
8 changes: 4 additions & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ export function activate(context: vscode.ExtensionContext) {
// The command has been defined in the package.json file
// Now provide the implementation of the command with registerCommand
// The commandId parameter must match the command field in package.json
let disposable = vscode.commands.registerCommand('project-da-vinci-vs-code-extension.helloWorld', () => {
const helloDaVinci = vscode.commands.registerCommand('project-da-vinci-vs-code-extension.helloDaVinci', () => {
// The code you place here will be executed every time your command is executed

// Display a message box to the user
vscode.window.showInformationMessage('Hello World from Project Da Vinci VS Code Extension!');
vscode.window.showInformationMessage('Hello Da Vinci!');
});

context.subscriptions.push(disposable);
context.subscriptions.push(helloDaVinci);
}

// this method is called when your extension is deactivated
export function deactivate() {}
export function deactivate() { }
2 changes: 1 addition & 1 deletion themes/avatar-color-theme.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Avatar Theme",
"name": "Da Vince",
"type": "dark",
"colors": {
"editor.background": "#263238",
Expand Down

0 comments on commit a11ccbb

Please sign in to comment.