File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 16
16
},
17
17
"main" : " ./out/extension.js" ,
18
18
"activationEvents" : [
19
- " onLanguage:javascript"
19
+ " onLanguage:javascript" ,
20
+ " onView:nodeDependencies"
20
21
],
21
22
"contributes" : {
22
23
"commands" : [
71
72
"command" : " source-academy.eval-editor" ,
72
73
"key" : " shift+enter"
73
74
}
74
- ]
75
+ ],
76
+ "views" : {
77
+ "source-academy" : [
78
+ {
79
+ "id" : " nodeDependencies" ,
80
+ "name" : " Assessments" ,
81
+ "icon" : " media/dep.svg" ,
82
+ "contextualTitle" : " Package Explorer"
83
+ }
84
+ ]
85
+ },
86
+ "viewsContainers" : {
87
+ "activitybar" : [
88
+ {
89
+ "id" : " source-academy" ,
90
+ "title" : " Source Academy" ,
91
+ "icon" : " assets/sa.svg"
92
+ }
93
+ ]
94
+ }
75
95
},
76
96
"scripts-info" : {
77
97
"build" : " Builds/obtains bundles required for the extension" ,
Original file line number Diff line number Diff line change 1
1
// The module 'vscode' contains the VS Code extensibility API
2
2
// Import the module and reference it with the alias vscode in your code below
3
3
import * as vscode from "vscode" ;
4
+ import { showPanel } from "./commands/showPanel" ;
5
+ import { setupTreeView } from "./view/test" ;
4
6
import { setupStatusBar } from "./statusbar/status" ;
5
7
import { registerAllCommands } from "./commands" ;
6
8
import { activateLspClient , deactivateLspClient } from "./lsp/client" ;
7
- import { showPanel } from "./commands/showPanel" ;
8
9
9
10
// This method is called when your extension is activated
10
11
// Your extension is activated the very first time the command is executed
11
12
export function activate ( context : vscode . ExtensionContext ) {
13
+ console . log ( "Source Academy extension is now active!" ) ;
14
+ setupTreeView ( ) ;
12
15
registerAllCommands ( context ) ;
13
16
14
17
context . subscriptions . push ( setupStatusBar ( context ) ) ;
You can’t perform that action at this time.
0 commit comments