refactor: clean the old name-superide

This commit is contained in:
Levi Yan
2024-09-18 13:52:19 +08:00
parent da531a361a
commit 1c2486b972
4 changed files with 14 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
# SuperIDE # DevStar
#### Description #### Description
Super IDE Client for VS Code Super IDE Client for VS Code

View File

@@ -27,13 +27,13 @@
"commands": [ "commands": [
{ {
"command": "devstar.showHome", "command": "devstar.showHome",
"title": "SuperIDE Home", "title": "DevStar Home",
"category": "Super IDE" "category": "DevStar"
}, },
{ {
"command": "devstar.connectRemoteContainer", "command": "devstar.connectRemoteContainer",
"title": "Connect to a Remote Container", "title": "Connect to a Remote Container",
"category": "Super IDE" "category": "DevStar"
} }
], ],
"menus": { "menus": {
@@ -49,7 +49,7 @@
"activitybar": [ "activitybar": [
{ {
"id": "devstar", "id": "devstar",
"title": "SuperIDE", "title": "DevStar",
"icon": "assets/icons/devstar-activity-icon.svg" "icon": "assets/icons/devstar-activity-icon.svg"
} }
] ]
@@ -66,7 +66,7 @@
"viewsWelcome": [ "viewsWelcome": [
{ {
"view": "devstar.quickAccess", "view": "devstar.quickAccess",
"contents": "welcome SuperIDE..." "contents": "welcome DevStar..."
} }
], ],
"walkthroughs": [ "walkthroughs": [
@@ -79,12 +79,12 @@
], ],
"configuration": { "configuration": {
"type": "object", "type": "object",
"title": "SuperIDE", "title": "DevStar",
"properties": { "properties": {
"devstar.disableSuperIDEHomeStartup": { "devstar.disableDevStarHomeStartup": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Disable showing SuperIDE Home at startup" "description": "Disable showing DevStar Home at startup"
} }
} }
} }

View File

@@ -2,7 +2,7 @@ import * as vscode from 'vscode';
import QuickAccessTreeProvider from './views/quick-access-tree'; import QuickAccessTreeProvider from './views/quick-access-tree';
import DSHome from './home'; import DSHome from './home';
export class SuperIDEExtension { export class DevStarExtension {
dsHome: DSHome; dsHome: DSHome;
constructor(private context: vscode.ExtensionContext) { constructor(private context: vscode.ExtensionContext) {
@@ -17,10 +17,10 @@ export class SuperIDEExtension {
this.registerGlobalCommands(context); this.registerGlobalCommands(context);
this.startSuperIDEHome(); this.startDevStarHome();
} }
async startSuperIDEHome() { async startDevStarHome() {
vscode.commands.executeCommand('devstar.showHome'); vscode.commands.executeCommand('devstar.showHome');
} }
@@ -35,7 +35,7 @@ export class SuperIDEExtension {
} }
export function activate(context: vscode.ExtensionContext) { export function activate(context: vscode.ExtensionContext) {
return new SuperIDEExtension(context); return new DevStarExtension(context);
} }
export function deactivate() { export function deactivate() {

View File

@@ -24,7 +24,7 @@ export default class QuickAccessTreeProvider {
return [ return [
new QuickItem( new QuickItem(
'SuperIDE Home', 'DevStar Home',
undefined, undefined,
undefined, undefined,
vscode.TreeItemCollapsibleState.Expanded, vscode.TreeItemCollapsibleState.Expanded,