Use the
Save Actions preference page to configure actions performed by the C/C++ editor (LSP) while saving a file:

| Option | Description |
|---|---|
Format source code |
While saving a file, the editor will format all lines or edited lines only. |
Related concepts: