Skip to content

Commit e94ee66

Browse files
authored
Update VS Code settings for formatting and flash type (#579)
Added formatting settings for C++ and enabled format on save.
1 parent bc7b3be commit e94ee66

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
"C_Cpp.intelliSenseEngine": "default",
33
"idf.pythonInstallPath": "/opt/esp/python_env/idf5.5_py3.12_env/bin/python",
44
"idf.port": "/dev/ttyACM0",
5-
"idf.flashType": "UART"
5+
"idf.flashType": "UART",
6+
"C_Cpp.clang_format_style": "file:/workspaces/espp/.clang-format",
7+
"C_Cpp.formatting": "clangFormat",
8+
"editor.formatOnSave": true,
9+
"editor.formatOnSaveMode": "modifications"
610
}

0 commit comments

Comments
 (0)