[clang-format] Added correct version and vscode formatter (#3971)

This commit is contained in:
Berk
2026-01-29 15:43:15 +03:00
committed by GitHub
parent f14bad729c
commit 25d175fd41
2 changed files with 15 additions and 9 deletions

View File

@@ -18,7 +18,8 @@
"vscode": {
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
"ms-vscode.cmake-tools"
"ms-vscode.cmake-tools",
"xaver.clang-format"
],
"settings": {
"clangd.arguments": [
@@ -43,6 +44,8 @@
"CMAKE_CXX_STANDARD": "23",
"CMAKE_CXX_STANDARD_REQUIRED": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
"editor.formatOnSave": true,
"clang-format.executable": "clang-format-19"
}
}

View File

@@ -10,6 +10,7 @@ RUN pacman-key --init && \
RUN pacman -S --noconfirm \
base-devel \
clang \
clang19 \
ninja \
git \
ca-certificates \
@@ -39,4 +40,6 @@ RUN pacman -S --noconfirm \
libxss \
&& pacman -Scc --noconfirm
RUN ln -sf /usr/lib/llvm19/bin/clang-format /usr/bin/clang-format-19
WORKDIR /workspaces/shadPS4