Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Inconsistent default "Show verbose output during: compilation" setting #422

Closed
per1234 opened this issue Feb 8, 2021 · 1 comment
Closed
Assignees
Labels
type: imperfection Something isn't working

Comments

@per1234
Copy link
Contributor

per1234 commented Feb 8, 2021

Describe the bug

The File > Preferences > Show verbose output during: compilation preference is enabled by default. This is different from the precedent set by the Arduino IDE, where this preference is disabled by default.

The verbose compilation output shows all the compilation commands. These are very rarely useful for troubleshooting, but they are often a huge amount of text. This causes several problems for users:

  • It's difficult to sift the useful warnings and error messages out of the mass of cryptic build commands.
  • The unhelpful build commands cause the output to exceed the Arduino Forum's 9000 character post limit, meaning the user must post the output as an attachment, rather than directly in the forum thread. This harms the user because forum members are less likely to make the effort to download and open an attachment just to get an idea if the problem is something they might be able to help with. It harms the community because the keywords in the attachment content won't be found in web searches.

To Reproduce
Steps to reproduce the behavior:

  1. Exit Arduino Pro IDE if it's running.
  2. Rename ~/.arduinoProIDE/settings.json to ~/.arduinoProIDE/settings.json.bak
  3. Start Arduino Pro IDE
  4. File > Preferences
  5. Verify that the box next to "Show verbose output during: compilation" is checked

Expected behavior

Arduino Pro IDE to use the same default File > Preferences > Show verbose output during: compilation setting as Arduino IDE.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version:
    0.1.4-snapshot.3042c1a
    Date: 2021-02-08T10:04:20.854Z
    CLI Version: 0.15.1 alpha [c7403ed2]

Additional context

The default File > Preferences > Show verbose output during: upload setting is also different from the Arduino IDE's default. However, unlike the verbose compilation output, I think this is arguably an improvement. The verbose upload output serves as a progress indicator and is also essential information for troubleshooting an upload failure.

@per1234 per1234 added the type: imperfection Something isn't working label Feb 8, 2021
kittaakos pushed a commit to arduino/arduino-ide that referenced this issue Feb 11, 2021
From now on, compile/upload is not verbose.

Closes arduino/arduino-pro-ide#422.

Signed-off-by: Akos Kitta <[email protected]>
@kittaakos kittaakos self-assigned this Feb 11, 2021
@kittaakos
Copy link
Contributor

It's done. One of the forthcoming releases will contain this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: imperfection Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants