Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/arduino-ide
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0719836
Choose a base ref
...
head repository: arduino/arduino-ide
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 923f5c6
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 16, 2022

  1. Use unmodified official ClangFormat configuration as base formatter c…

    …onfiguration
    
    The Arduino IDE's "Auto Format" feature is configured to produce the standard Arduino sketch formatting style by
    default.
    
    The Arduino IDE editor's default settings are compliant with that style. However, the user may adjust the editor
    settings. In this case, the Arduino IDE automatically adjusts the Auto Format configuration to align with the user's
    preferences.
    
    The formatter configuration is consumed by several other projects in addition to the Arduino IDE. For this reason, the
    configuration is hosted and maintained in a centralized location, from which it is pulled by all projects that use it.
    
    Previously, the adjustment of the Arduino IDE formatter configuration according to the editor settings was integrated
    into the configuration object itself. This meant that the standardized configuration had to be modified each time it was
    pulled in to sync from the upstream source.
    
    Moving the base formatter configuration object to a dedicated file, separated from the handling and adjustment code
    allows syncs to be done by simply replacing the existing configuration file with the one automatically generated by the
    CI system of the repository where the source configuration is hosted.
    per1234 committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    923f5c6 View commit details
    Browse the repository at this point in the history
Loading