Skip to content

Auto Format (Ctrl+T) fails silently if no board is selected #973

Closed
@FastThenLeft

Description

@FastThenLeft

Describe the problem

Auto Format (Ctrl+T) is not working on Ubuntu 22.04 & IDE Version 2.0.0-rc6.

To reproduce

Write some unformatted code and press Ctrl+T or use Tools->Auto Format. Nothing happens.

Expected behavior

The code should be formatted like it was in IDE 1.

Arduino IDE version

2.0.0-rc6

Operating system

Linux

Operating system version

Ubuntu 22.04

Additional context

Is there a package I need to install perhaps?

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions