From f39afdac4ca3d8658ab653d6f1d8dfa8f50b0519 Mon Sep 17 00:00:00 2001 From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> Date: Tue, 9 Apr 2024 17:07:03 -0400 Subject: [PATCH] misc: add vscode project settings file - specifies some include paths - enforces LF eol - encourages clang-format use - adds a comment regarding the IPC task Note: currently GNU/Linux-specific Change-Id: Ib208aca33026bf1c15a3ef18020805ceb20aa55f --- .vscode/launch.json | 3 +++ .vscode/settings.json | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/launch.json b/.vscode/launch.json index 138c71c17..74b74fa9a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -65,6 +65,9 @@ ], "compounds": [ { + // Using this configuration will require manually reconfiguring the project using + // build.py --no-libwrap, otherwise the daemon executable will not be built and the + // client will not be built with ENABLE_LIBWRAP=False. "name": "Jami-Client-IPC", "configurations": [ "Jami-Daemon-Debug", diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..25e45a958 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "C_Cpp.default.includePath": [ + "${default}", + "${workspaceFolder}/**", + "/usr/lib/libqt-jami/include/**", + "/usr/lib64/qt-jami/include/**", + ], + "C_Cpp.default.cppStandard": "c++17", + "C_Cpp.default.cStandard": "c11", + "cmake.configureOnOpen": true, + "editor.formatOnSave": true, + "editor.defaultFormatter": "xaver.clang-format", + "files.eol": "\n", + "cSpell.enabled": false, +} \ No newline at end of file -- GitLab