Install the following extensions:
vscjava.vscode-gradle
richardwillis.vscode-spotless-gradle
Then select a .java
file and type Ctrl+Shift+P
:
- Select "Format document with"
- Select "Config Default formatter"
- Select "Spotless Gradle"
- go to the bottom right corner of your vscode, you should see CRLF as your line ending type
- click on it and change the "End of Line Sequence" to LF
- this works on a per file basis, meaning you must perform these steps for every file you create on windows
Use SysId
tool from WPILIB, place all good configuration files in the corresponding directories
config/sysid/<subsystem>/<ISO-date>-config-<description>.json
- ISO date is
YYYY_MM_DD
so Jan 17th 2022 is2022_01_17
- This way the configs will be ordered by date in the file manager
Save all good pipelines to config/vision/<ISO-date>_description