added and configured c/cpp extension and removed extensionr ecommendations

This commit is contained in:
Kristian Krsnik 2023-10-15 15:05:56 +02:00
parent 9cc53818e3
commit 659efbcb3e
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85
1 changed files with 19 additions and 0 deletions

View File

@ -33,6 +33,7 @@
asciidoctor.asciidoctor-vscode
ziglang.vscode-zig
slevesque.shader
ms-vscode.cpptools
streetsidesoftware.code-spell-checker
streetsidesoftware.code-spell-checker-german
@ -42,10 +43,13 @@
"git.enableCommitSigning" = true;
"window.menuBarVisibility" = "hidden";
"editor.fontFamily" = "'FiraCode Nerd Font'";
"editor.fontLigatures" = true;
"editor.minimap.enabled" = false;
"extensions.ignoreRecommendations" = true;
"[nix]" = {
"editor.formatOnSave" = true;
"editor.formatOnSaveMode" = "file"; # modificationsIfAvailable does not work
@ -67,6 +71,16 @@
"editor.formatOnSaveMode" = "modificationsIfAvailable";
};
"[c]" = {
"editor.formatOnSave" = true;
"editor.formatOnSaveMode" = "modificationsIfAvailable";
};
"[cpp]" = {
"editor.formatOnSave" = true;
"editor.formatOnSaveMode" = "modificationsIfAvailable";
};
"nix.enableLanguageServer" = true;
"nix.serverPath" = "${pkgs.nil}/bin/nil";
"nix.serverSettings" = {
@ -91,6 +105,11 @@
"zig.zigPath" = ""; # Use the zig from the PATH
"zig.zls.path" = "${pkgs.unstable.zls}/bin/zls";
"C_Cpp.default.compilerPath" = "${pkgs.gnat11}/bin/g++";
"C_Cpp.default.includePath" = [
"\${workspaceFolder}/**"
];
};
};
}