aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-03-03 18:15:54 -0500
committerChristine Dodrill <me@christine.website>2021-03-03 18:15:54 -0500
commitd978995f7925f7680d880077e8c046a68245758d (patch)
treea6f7a86ada67e8502236bf263e39ea263cf1e552
parentf8c2897765b41e90c7e32944ae412f8c56c90b4a (diff)
downloadxesite-d978995f7925f7680d880077e8c046a68245758d.tar.xz
xesite-d978995f7925f7680d880077e8c046a68245758d.zip
refine vscode settings
Signed-off-by: Christine Dodrill <me@christine.website>
-rw-r--r--.vscode/settings.json6
-rw-r--r--.vscode/tasks.json36
2 files changed, 38 insertions, 4 deletions
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