refactor: rename the project as devstar
This commit is contained in:
14
src/main.ts
14
src/main.ts
@@ -1,16 +1,16 @@
|
||||
import * as vscode from 'vscode';
|
||||
import QuickAccessTreeProvider from './views/quick-access-tree';
|
||||
import SIHome from './home';
|
||||
import DSHome from './home';
|
||||
|
||||
export class SuperIDEExtension {
|
||||
siHome: SIHome;
|
||||
dsHome: DSHome;
|
||||
|
||||
constructor(private context: vscode.ExtensionContext) {
|
||||
this.siHome = new SIHome(context);
|
||||
this.dsHome = new DSHome(context);
|
||||
|
||||
context.subscriptions.push(
|
||||
vscode.window.registerTreeDataProvider(
|
||||
'superide.quickAccess',
|
||||
'devstar.quickAccess',
|
||||
new QuickAccessTreeProvider()
|
||||
)
|
||||
);
|
||||
@@ -21,14 +21,14 @@ export class SuperIDEExtension {
|
||||
}
|
||||
|
||||
async startSuperIDEHome() {
|
||||
vscode.commands.executeCommand('superide.showHome');
|
||||
vscode.commands.executeCommand('devstar.showHome');
|
||||
}
|
||||
|
||||
|
||||
registerGlobalCommands(context: vscode.ExtensionContext) {
|
||||
context.subscriptions.push(
|
||||
vscode.commands.registerCommand('superide.showHome', (url: string) =>
|
||||
this.siHome.toggle(url)
|
||||
vscode.commands.registerCommand('devstar.showHome', (url: string) =>
|
||||
this.dsHome.toggle(url)
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user