1
1
// The module 'vscode' contains the VS Code extensibility API
2
- import { ExtensionContext , commands , languages , window , workspace } from "vscode" ;
2
+ import { commands , ExtensionContext , languages , window , workspace } from "vscode" ;
3
3
4
4
// this method is called when your extension is activated
5
5
// your extension is activated the very first time the command is executed
@@ -12,6 +12,7 @@ import { GetMemberInfo } from "./api/components/getMemberInfo";
12
12
import { GetNewLibl } from "./api/components/getNewLibl" ;
13
13
import { extensionComponentRegistry } from "./api/components/manager" ;
14
14
import { parseErrors } from "./api/errors/parser" ;
15
+ import { CustomCLI } from "./api/tests/components/customCli" ;
15
16
import { onCodeForIBMiConfigurationChange } from "./config/Configuration" ;
16
17
import * as Debug from './debug' ;
17
18
import { IFSFS } from "./filesystems/ifsFs" ;
@@ -24,7 +25,7 @@ import { CodeForIBMi } from "./typings";
24
25
import { VscodeTools } from "./ui/Tools" ;
25
26
import { registerActionTools } from "./ui/actions" ;
26
27
import { initializeConnectionBrowser } from "./ui/views/ConnectionBrowser" ;
27
- import { LibraryListProvider } from "./ui/views/LibraryListView" ;
28
+ import { initializeLibraryListView } from "./ui/views/LibraryListView" ;
28
29
import { ProfilesView } from "./ui/views/ProfilesView" ;
29
30
import { initializeDebugBrowser } from "./ui/views/debugView" ;
30
31
import { HelpView } from "./ui/views/helpView" ;
@@ -36,7 +37,6 @@ import { openURIHandler } from "./uri/handlers/open";
36
37
import { initializeSandbox , sandboxURIHandler } from "./uri/handlers/sandbox" ;
37
38
import { CustomUI } from "./webviews/CustomUI" ;
38
39
import { SettingsUI } from "./webviews/settings" ;
39
- import { CustomCLI } from "./api/tests/components/customCli" ;
40
40
41
41
export async function activate ( context : ExtensionContext ) : Promise < CodeForIBMi > {
42
42
// Use the console to output diagnostic information (console.log) and errors (console.error)
@@ -60,16 +60,13 @@ export async function activate(context: ExtensionContext): Promise<CodeForIBMi>
60
60
initializeIFSBrowser ( context ) ;
61
61
initializeDebugBrowser ( context ) ;
62
62
initializeSearchView ( context ) ;
63
+ initializeLibraryListView ( context ) ;
63
64
64
65
context . subscriptions . push (
65
66
window . registerTreeDataProvider (
66
67
`helpView` ,
67
68
new HelpView ( context )
68
69
) ,
69
- window . registerTreeDataProvider (
70
- `libraryListView` ,
71
- new LibraryListProvider ( context )
72
- ) ,
73
70
window . registerTreeDataProvider (
74
71
`profilesView` ,
75
72
new ProfilesView ( context )
0 commit comments