mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 10:28:32 +00:00
aligned track to current theia.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -15,10 +15,9 @@ export class ApplicationShell extends TheiaApplicationShell {
|
||||
@inject(CommandService)
|
||||
protected readonly commandService: CommandService;
|
||||
|
||||
protected async track(widget: Widget): Promise<void> {
|
||||
if (this.editorMode.proMode) {
|
||||
super.track(widget);
|
||||
} else {
|
||||
protected track(widget: Widget): void {
|
||||
super.track(widget);
|
||||
if (!this.editorMode.proMode) {
|
||||
if (widget instanceof EditorWidget && widget.editor.uri.toString().endsWith('arduino-cli.yaml')) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user