From 50c5292e9895a0db40f76436af851c93cd322fa5 Mon Sep 17 00:00:00 2001 From: Adriano dos Santos Fernandes Date: Fri, 20 Jan 2017 11:53:19 -0200 Subject: [PATCH] Added Visual Studio Code settings. --- .gitignore | 1 + .vscode/launch.json | 41 +++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 14 ++++++++++++++ .vscode/tasks.json | 13 +++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index b72d7f6dda..eb61c88c8a 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ libtool *.bak *.tmp src/dsql/parse.cpp +.vscode/.browse.VC.db diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..a5da522a67 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,41 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "isql - launch", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceRoot}/gen/Debug/firebird/bin/isql", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceRoot}", + "environment": [], + "externalConsole": true, + "linux": { + "MIMode": "gdb" + }, + "osx": { + "MIMode": "lldb" + }, + "windows": { + "MIMode": "gdb" + } + }, + { + "name": "isql - attach", + "type": "cppdbg", + "request": "attach", + "program": "${workspaceRoot}/gen/Debug/firebird/bin/isql", + "processId": "${command.pickProcess}", + "linux": { + "MIMode": "gdb" + }, + "osx": { + "MIMode": "lldb" + }, + "windows": { + "MIMode": "gdb" + } + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..2d69737f88 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,14 @@ +// Place your settings in this file to overwrite default and user settings. +{ + "editor.tabSize": 4, + "editor.insertSpaces": false, + "editor.rulers": [120], + + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + + "files.exclude": { + "temp": true, + "gen": true + } +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000000..af551682d2 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,13 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "make", + "isShellCommand": true, + "args": [ + "TARGET=Debug", + "engine", + "-j9" + ], + "showOutput": "always" +}