From ef2a51644cb6cc6416880ed582c10b01f7df18f7 Mon Sep 17 00:00:00 2001 From: Vahagn Khachatryan Date: Wed, 19 Aug 2020 21:53:42 +0100 Subject: [PATCH] .vscode --- .vscode/c_cpp_properties.json | 49 +++++++++++++++++++++++++++++++++++ .vscode/launch.json | 49 +++++++++++++++++++++++++++++++++++ .vscode/settings.json | 8 ++++++ .vscode/tasks.json | 27 +++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..9176e17 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,49 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceRoot}", + "/usr/include", + "/usr/local/include" + ], + "defines": [], + "browse": { + "path": [ + "/usr/include", + "/usr/local/include" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + }, + "intelliSenseMode": "clang-x64", + "compilerPath": "/bin/clang", + "cStandard": "c11", + "cppStandard": "c++20" + }, + { + "name": "Win32", + "includePath": [ + "${workspaceRoot}", + "C:\\bin\\msvc2017\\community\\VC\\Tools\\MSVC\\14.12.25827\\include" + ], + "defines": [ + "_DEBUG", + "UNICODE" + ], + "browse": { + "path": [ + "${workspaceRoot}", + "C:\\bin\\msvc2017\\community\\VC\\Tools\\MSVC\\14.12.25827\\include" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + }, + "intelliSenseMode": "msvc-x64", + "compilerPath": "/bin/clang", + "cStandard": "c11", + "cppStandard": "c++14" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8039906 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,49 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Python", + "type": "python", + "request": "launch", + "stopOnEntry": true, + "pythonPath": "${config:python.pythonPath}", + "program": "${file}", + "cwd": "${workspaceFolder}", + "env": {}, + "envFile": "${workspaceFolder}/.env", + "debugOptions": [ + "RedirectOutput" + ] + }, + { + "name": "Debug (CLang-Linux)", + "type": "cppdbg", + "request": "launch", + "program": "${fileDirname}/${fileBasenameNoExtension}", + "args": [], + "cwd": "${fileDirname}", + "MIMode": "lldb", + "externalConsole": false, + "stopAtEntry": true, + "miDebuggerPath": "/usr/local/bin/lldb-mi", + "preLaunchTask": "C/C++: clang++ build active file" + }, + { + "name": "C++ Launch (Windows)", + "type": "cppvsdbg", + "request": "launch", + "program": "enter program name, for example ${workspaceRoot}/${file}.exe", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceRoot}", + "environment": [], + "externalConsole": false + }, + { + "name": "C++ Attach (Windows)", + "type": "cppvsdbg", + "request": "attach", + "processId": "${command:pickProcess}" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c2ae2d4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "files.associations": { + "vector": "cpp", + "iostream": "cpp", + "xutility": "cpp" + }, + "python.pythonPath": "C:\\bin\\python-3.6\\python.exe" +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..90b7845 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,27 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "C/C++: clang++ build active file", + "command": "/bin/clang++", + "args": [ + "-std=c++20", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file