I registied my Widget by coding:
registerCommands(commands: CommandRegistry): void {
super.registerCommands(commands);
commands.registerCommand(HilensCommand, {
isEnabled: widget => this.withWidget(widget, () => true),
isVisible: widget => this.withWidget(widget, () => true),
isToggled: widget => this.withWidget(widget, () => true),
execute: () => super.openView({ activate: true, reveal: true })
});
}
The Widget is actived automatically while i open the IDE, but it just folds by the side, not open automatically.
[original thread by AlwaysMing]