Skip to content

Commit b6412db

Browse files
committed
the tasks has added
1 parent eb4fc59 commit b6412db

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

.vscode/tasks.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
// See article list links:
3+
//
4+
// 1. https://go.microsoft.com/fwlink/?LinkId=733558
5+
// 2. https://vscode-docs.readthedocs.io/en/stable/editor/tasks/
6+
// 3. https://code.visualstudio.com/docs/editor/variables-reference/
7+
// 4. https://docs.brew.sh/Homebrew-and-Python/
8+
//
9+
// for the documentation about the tasks.json format
10+
"version": "2.0.0",
11+
"tasks": [
12+
{
13+
"label": "1. Python Clean",
14+
"type": "shell",
15+
"linux": {
16+
"command": "${workspaceFolder}/.rmcache.sh"
17+
},
18+
"osx": {
19+
"command": "${workspaceFolder}/.rmcache.sh"
20+
},
21+
"windows": {
22+
"command": "${workspaceFolder}/.rmcache.ps1"
23+
}
24+
},
25+
{
26+
"label": "2. Python@2 or Python@3 Env",
27+
"type": "shell",
28+
"linux": {
29+
"command": "echo ${workspaceFolder}"
30+
},
31+
"osx": {
32+
"command": "python -c 'import sys;import json;print(json.dumps(sys.path, indent=4))'"
33+
},
34+
"windows": {
35+
"command": "echo ${workspaceFolder}"
36+
}
37+
},
38+
{
39+
"label": "Z. Test",
40+
"type": "shell",
41+
"linux": {
42+
"command": "echo ${workspaceFolder}"
43+
},
44+
"osx": {
45+
// "command": "echo ${config:editor.fontSize}"
46+
// "command": "echo ${config:python.envFile}"
47+
// "command": "echo ${env:PYTHONPATH}"
48+
// "command": "echo ${env:PATH}"
49+
"command": "echo ${workspaceFolder}"
50+
},
51+
"windows": {
52+
"command": "echo ${workspaceFolder}"
53+
}
54+
}
55+
]
56+
}

0 commit comments

Comments
 (0)