File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change 10
10
" Other"
11
11
],
12
12
"activationEvents" : [
13
- " onCommand:php-class-generator.helloWorld" ,
14
13
" onCommand:php-class-generator.generate-php-class"
15
14
],
16
15
"main" : " ./out/extension.js" ,
17
16
"contributes" : {
18
17
"commands" : [
19
- {
20
- "command" : " php-class-generator.helloWorld" ,
21
- "title" : " Hello World"
22
- },
23
18
{
24
19
"command" : " php-class-generator.generate-php-class" ,
25
20
"title" : " Generate PHP Class"
Original file line number Diff line number Diff line change @@ -6,21 +6,7 @@ import * as path from 'path';
6
6
// This method is called when your extension is activated
7
7
// Your extension is activated the very first time the command is executed
8
8
export function activate ( context : vscode . ExtensionContext ) {
9
-
10
- // Use the console to output diagnostic information (console.log) and errors (console.error)
11
- // This line of code will only be executed once when your extension is activated
12
9
console . log ( 'Congratulations, your extension "php-class-generator" is now active!' ) ;
13
-
14
- // The command has been defined in the package.json file
15
- // Now provide the implementation of the command with registerCommand
16
- // The commandId parameter must match the command field in package.json
17
- let disposable = vscode . commands . registerCommand ( 'php-class-generator.helloWorld' , ( ) => {
18
- // The code you place here will be executed every time your command is executed
19
- // Display a message box to the user
20
- vscode . window . showInformationMessage ( 'Hello World from PHP Class Generator!' ) ;
21
- } ) ;
22
- context . subscriptions . push ( disposable ) ;
23
-
24
10
context . subscriptions . push ( vscode . commands . registerCommand ( 'php-class-generator.generate-php-class' , generateFilePhpClass ) ) ;
25
11
}
26
12
You can’t perform that action at this time.
0 commit comments