From 98333eb27e94d17f5248e9997ed6930a19469f9b Mon Sep 17 00:00:00 2001 From: Robin Mackaij Date: Mon, 12 Feb 2024 13:06:43 +0100 Subject: [PATCH] example settings and recommended extensions added --- .gitignore | 3 ++- .vscode/example.launch.json | 33 +++++++++++++++++++++++++++++++++ .vscode/example.settings.json | 5 +++++ .vscode/extensions.json | 9 +++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 .vscode/example.launch.json create mode 100644 .vscode/example.settings.json create mode 100644 .vscode/extensions.json diff --git a/.gitignore b/.gitignore index 4d2287f..1c08efb 100644 --- a/.gitignore +++ b/.gitignore @@ -127,7 +127,8 @@ report.html tests/logs # IDE config -.vscode +.vscode/launch.json +.vscode/settings.json # PowerShell utility scripts _*.ps1 \ No newline at end of file diff --git a/.vscode/example.launch.json b/.vscode/example.launch.json new file mode 100644 index 0000000..749f51d --- /dev/null +++ b/.vscode/example.launch.json @@ -0,0 +1,33 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "RobotCode: Default", + "type": "robotcode", + "request": "launch", + "purpose": "default", + "presentation": { + "hidden": true + }, + "attachPython": true, + "pythonConfiguration": "RobotCode: Python", + "args": [ + "--variable=ROOT:${workspaceFolder}", + "--outputdir=${workspaceFolder}/tests/logs", + "--loglevel=TRACE:INFO" + ] + }, + { + "name": "RobotCode: Python", + "type": "python", + "request": "attach", + "presentation": { + "hidden": true + }, + "justMyCode": false + } + ] +} \ No newline at end of file diff --git a/.vscode/example.settings.json b/.vscode/example.settings.json new file mode 100644 index 0000000..da7fb00 --- /dev/null +++ b/.vscode/example.settings.json @@ -0,0 +1,5 @@ +{ + "robotcode.robot.variables": { + "ROOT": "/workspaces/robotframework-openapidriver" + } +} \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..148b394 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "ms-vscode-remote.remote-containers", + "ms-python.python", + "ms-python.vscode-pylance", + "charliermarsh.ruff", + "d-biehl.robotcode" + ] +} \ No newline at end of file