Download lib/formatter.conf from Beifengdo/Arduino-Development: direct link, hf CLI and curl.
- Browser
- Download file 928 Bytes
-
https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/lib/formatter.conf
- Command line
-
hf download hf://datasets/Beifengdo/Arduino-Development/lib/formatter.conf
-
curl -L -o formatter.conf https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/lib/formatter.conf
928 Bytes
| # This configuration file contains a selection of the available options provided by the formatting tool "Artistic Style" | |
| # http://astyle.sourceforge.net/astyle.html | |
| # | |
| # If you wish to change them, don't edit this file. | |
| # Instead, copy it in the same folder of file "preferences.txt" and modify the copy. This way, you won't lose your custom formatter settings when upgrading the IDE | |
| # If you don't know where file preferences.txt is stored, open the IDE, File -> Preferences and you'll find a link | |
| mode=c | |
| # 2 spaces indentation | |
| indent=spaces=2 | |
| # also indent macros | |
| indent-preprocessor | |
| # indent classes, switches (and cases), comments starting at column 1 | |
| indent-classes | |
| indent-switches | |
| indent-cases | |
| indent-col1-comments | |
| # put a space around operators | |
| pad-oper | |
| # put a space after if/for/while | |
| pad-header | |
| # if you like one-liners, keep them | |
| keep-one-line-statements | |
| remove-comment-prefix | |