File tree Expand file tree Collapse file tree 3 files changed +38
-19
lines changed
Expand file tree Collapse file tree 3 files changed +38
-19
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,21 @@ Rather than having a separate Kanban board for collaborating on projects separat
2929- Rollup
3030- GitHub API (Apollo GraphQL)
3131
32+ ## Icon source
33+ - [ Codicons] ( https://microsoft.github.io/vscode-codicons/dist/codicon.html )
34+
3235## Contributors
3336
34- - [ Samuel Yuan] ( https://github.com/yuansamuel )
35- - [ Shrill Shrestha] ( https://github.com/shrillshrestha )
36- - [ Aitik Gupta] ( https://github.com/aitikgupta )
37- - [ Dean Gladish] ( https://github.com/gladishd )
37+ - [ Samuel Yuan] (https://github.com/yuansamuel )
38+ - [ Shrill Shrestha] (https://github.com/shrillshrestha )
39+ - [ Aitik Gupta] (https://github.com/aitikgupta )
40+ - [ Dean Gladish] (https://github.com/gladishd )
3841
3942## How to run locally?
40- - ` git ` clone https://github.com/Open-Sourced-Olaf/vscode-github-projects.git
41- - ` cd ` into the project folder
42- - ` code . `
43- - ` npm install `
44- - ` npm run webpack `
43+ - git clone https://github.com/Open-Sourced-Olaf/vscode-github-projects.git
44+ - npm install
45+ - npm run watch
46+ - code .
4547- fn + F5 (or Launch Extension in command palette)
4648- Don't forget to sign in with GitHub!
4749
Original file line number Diff line number Diff line change 1010 " Other"
1111 ],
1212 "activationEvents" : [
13- " onView:vsc-github-projects" ,
14- " onCommand:vscode-github-projects.revelProjects"
13+ " onView:proj-sidebar" ,
14+ " onCommand:vscode-github-projects.helloWorld" ,
15+ " onCommand:vscode-github-projects.showWarningMessage"
1516 ],
1617 "main" : " ./dist/extension" ,
1718 "contributes" : {
1819 "viewsContainers" : {
1920 "activitybar" : [
2021 {
21- "id" : " vsc-github-projects -view" ,
22+ "id" : " proj-sidebar -view" ,
2223 "title" : " VS-GitHub-Projects" ,
2324 "icon" : " media/project.svg"
2425 }
2526 ]
2627 },
2728 "views" : {
28- "vsc-github-projects -view" : [
29+ "proj-sidebar -view" : [
2930 {
3031 "type" : " webview" ,
31- "id" : " vsc-github-projects " ,
32+ "id" : " proj-sidebar " ,
3233 "name" : " VS-GitHub-Projects" ,
3334 "icon" : " media/project.svg" ,
3435 "contextualTitle" : " VS-GitHub-Projects"
3738 },
3839 "commands" : [
3940 {
40- "command" : " vscode-github-projects.revelProjects" ,
41- "title" : " Revel Projects" ,
42- "category" : " VSCODE-GITHUB-PROJECTS"
41+ "command" : " vscode-github-projects.helloWorld" ,
42+ "title" : " Hello World"
43+ },
44+ {
45+ "command" : " vscode-github-projects.showWarningMessage" ,
46+ "title" : " Show Warning Message"
4347 }
4448 ]
4549 },
Original file line number Diff line number Diff line change @@ -10,16 +10,29 @@ export function activate(context: vscode.ExtensionContext) {
1010 const sidebarProvider = new SidebarProvider ( context . extensionUri , context ) ;
1111 context . subscriptions . push (
1212 vscode . window . registerWebviewViewProvider (
13- "vsc-github-projects " ,
13+ "proj-sidebar " ,
1414 sidebarProvider
1515 )
1616 ) ;
1717
18- context . subscriptions . push ( vscode . commands . registerCommand ( 'vscode-github-projects.revelProjects' , ( ) => {
18+ // Use the console to output diagnostic information (console.log) and errors (console.error)
19+ // This line of code will only be executed once when your extension is activated
20+ console . log ( 'Congratulations, your extension "vscode-github-projects" is now active!' ) ;
21+
22+ // The command has been defined in the package.json file
23+ // Now provide the implementation of the command with registerCommand
24+ // The commandId parameter must match the command field in package.json
25+ context . subscriptions . push ( vscode . commands . registerCommand ( 'vscode-github-projects.helloWorld' , ( ) => {
1926 // The code you place here will be executed every time your command is executed
2027 HomePanel . createOrShow ( context . extensionUri , { } ) ;
2128 } )
2229 ) ;
30+
31+ context . subscriptions . push ( vscode . commands . registerCommand ( 'vscode-github-projects.showWarningMessage' , ( ) => {
32+ //warning message
33+ vscode . window . showWarningMessage ( "Hey, here's a sample warning message" ) ;
34+ } )
35+ ) ;
2336}
2437
2538// this method is called when your extension is deactivated
You can’t perform that action at this time.
0 commit comments