Skip to content

Commit f375202

Browse files
author
Akos Kitta
committed
set focus on main sketch.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent fc09dc3 commit f375202

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ export class ArduinoFrontendContribution implements FrontendApplicationContribut
265265
for (const uri of [...sketch.otherSketchFileUris, ...sketch.additionalFileUris]) {
266266
await this.editorManager.open(new URI(uri));
267267
}
268+
await this.editorManager.open(new URI(sketch.mainFileUri)); // Activates the editor of the main sketch file.
268269
}
269270

270271
registerColors(colors: ColorRegistry): void {

0 commit comments

Comments
 (0)