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