feat(vscode): add cpp extensions

This commit is contained in:
Jacob Bachmann 2024-01-21 01:06:12 +01:00
parent 7c596967b8
commit 94f0ec3f82
Signed by: bchmnn
GPG key ID: 732A612DAD28067D

View file

@ -19,12 +19,17 @@ in
esbenp.prettier-vscode esbenp.prettier-vscode
bradlc.vscode-tailwindcss bradlc.vscode-tailwindcss
jnoortheen.nix-ide jnoortheen.nix-ide
ms-vscode.cpptools
ms-vscode.cmake-tools
]; ];
userSettings = { userSettings = {
"window.titleBarStyle" = "custom";
"window.menuBarVisibility" = "toggle"; "window.menuBarVisibility" = "toggle";
"workbench.iconTheme" = "material-icon-theme"; "workbench.iconTheme" = "material-icon-theme";
"extensions.ignoreRecommendations" = true;
"explorer.confirmDragAndDrop" = false; "explorer.confirmDragAndDrop" = false;
"explorer.confirmDelete" = false; "explorer.confirmDelete" = false;
@ -46,7 +51,7 @@ in
strings = "on"; strings = "on";
}; };
"editor.codeActionsOnSave" = { "editor.codeActionsOnSave" = {
".source.organizeImports" = true; ".source.organizeImports" = "explicit";
}; };
"terminal.integrated.fontFamily" = common.font; "terminal.integrated.fontFamily" = common.font;
@ -150,6 +155,11 @@ in
key = "alt+right"; key = "alt+right";
command = "workbench.action.navigateForward"; command = "workbench.action.navigateForward";
} }
{
key = "ctrl+escape";
command = "workbench.action.terminal.toggleTerminal";
when = "terminal.active";
}
{ {
key = "ctrl+f"; key = "ctrl+f";
command = "editor.action.formatDocument"; command = "editor.action.formatDocument";