mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-05 08:28:32 +00:00
set focus on main sketch.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -265,6 +265,7 @@ export class ArduinoFrontendContribution implements FrontendApplicationContribut
|
||||
for (const uri of [...sketch.otherSketchFileUris, ...sketch.additionalFileUris]) {
|
||||
await this.editorManager.open(new URI(uri));
|
||||
}
|
||||
await this.editorManager.open(new URI(sketch.mainFileUri)); // Activates the editor of the main sketch file.
|
||||
}
|
||||
|
||||
registerColors(colors: ColorRegistry): void {
|
||||
|
||||
Reference in New Issue
Block a user