VSCodium
How to add a C/C++ code formatter?
Install the clang-format
tool.
On Ubuntu:
sudo apt-get install clang-format
Download the Clang-format
VSCode extension here (.vsix
): https://marketplace.visualstudio.com/items?itemName=xaver.clang-format.
In VSCodium:
- Click on the "Extensions" icon in the left panel
- Click on the "..." at the top right of the extension tab
- Select "Install from VSIX..." and select the
.vsix
file downloaded above
The extension is now installed and selected C code can be formatted using the "ctrl+shift+i" key combination!
.md
) file?
How to preview a markdown (Press "ctrl+alt+v"