cheshirekow / cmake_format

Source code formatter for cmake listfiles.
GNU General Public License v3.0
949 stars 104 forks source link

setup cmake_format as a proper formatter in VSCode #270

Open jgcodes2020 opened 3 years ago

jgcodes2020 commented 3 years ago

Title says all. cmake_format currently uses its own keyboard shortcut, and it'd be nice to have it registered like other formatters, so I can use Alt+Shift+F to format my code.

cheshirekow commented 3 years ago

The vscode extension doesn't setup it's own keybindings, it registers itself as a document formatter. If you have different keybindings formatting cmake code you might have a second cmake extension installed?