You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move IDE 2.x configuration file link above supplemental link
Arduino IDE 2.x allows the user to customize the output of the "Auto Format" feature via a configuration file. This
system is documented in the "Customizing the Auto Formatter Feature" tutorial.
Arduino's standard formatter configuration file is offered as part of the tutorial. Originally, the full YAML code of
the standard configuration was included in the tutorial page itself. Since that consisted as a large block of cryptic
code, it made sense to place it at the bottom of that section of the tutorial, after the section's prose content, following this structure:
- Introduction
- Supplemental note
- Configuration code
Since that time, the code content has been replaced by a link to the source file. After this change, the placement of
this essential link (which is less visibly prominent in the page) makes less sense. The content will be easier to follow
with the new structure:
- Introduction
- Configuration file link
- Supplemental note
Copy file name to clipboardExpand all lines: content/software/ide-v2/tutorials/ide-v2-customize-auto-formatter/content.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -63,10 +63,10 @@ If you add a `.clang-format` configuration file to the root of a sketch, the Ard
63
63
64
64
Here you can find the default formatting file used in the Arduino IDE 2.0. If you wish to customize how your auto formatting acts in the IDE then starting with this file is a good idea.
65
65
66
-
***Please note that the custom configuration file completely overrides the Arduino default configuration, rather than merging with it. Any configuration option you don't set in your custom file will be set to the ClangFormat default value.***
***Please note that the custom configuration file completely overrides the Arduino default configuration, rather than merging with it. Any configuration option you don't set in your custom file will be set to the ClangFormat default value.***
69
+
70
70
## Conclusion
71
71
72
72
In this tutorial we went through how to customize the behavior of the `CTRL + T` / `CMD + T` auto formatter command in the Arduino IDE 2.0. This tutorial also shows the different scopes that are available for the auto formatter configuration.
0 commit comments