From d978995f7925f7680d880077e8c046a68245758d Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 3 Mar 2021 18:15:54 -0500 Subject: [PATCH] refine vscode settings Signed-off-by: Christine Dodrill --- .vscode/settings.json | 6 ++---- .vscode/tasks.json | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/settings.json b/.vscode/settings.json index bf2bd93..1cba12d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,8 @@ { "editor.wordWrap": "wordWrapColumn", - "editor.wordWrapColumn": 80, - "editor.wordBasedSuggestions": false, - "[markdown]":{ + "[markdown]": { "editor.wordWrap": "wordWrapColumn", "editor.wordWrapColumn": 80, - "vim.textwidth": 80, + "editor.wordBasedSuggestions": false }, } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..273b701 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,36 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "options": { + "env": { + "out": "/fake" + } + }, + "tasks": [ + { + "label": "run", + "type": "shell", + "command": "cargo run", + "problemMatcher": [ + "$rustc" + ] + }, + { + "label": "auto rerun", + "type": "shell", + "command": "cargo watch -x run", + "problemMatcher": [ + "$rustc" + ] + }, + { + "label": "test", + "type": "shell", + "command": "cargo test", + "problemMatcher": [ + "$rustc" + ] + } + ] +} \ No newline at end of file