Skip to content

Commit 3d8f2be

Browse files
committed
Added files for vscode
1 parent c3546e0 commit 3d8f2be

File tree

4 files changed

+65
-0
lines changed

4 files changed

+65
-0
lines changed

.vscode/settings.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
// Use python within the virtual environment
3+
"python.pythonPath": "${workspaceFolder}/virtenv/py38dev/Scripts/python",
4+
// Directory where the virtual environments are stored
5+
"python.venvPath": "${workspaceFolder}/virtenv",
6+
7+
8+
// Additional autocompletion search directories
9+
"python.autoComplete.extraPaths": [
10+
"./",
11+
],
12+
}

.vscode/tasks.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "build",
8+
"type": "shell",
9+
"command": "mkdocs.exe build",
10+
"options": {
11+
"cwd": "${workspaceFolder}",
12+
"env": {
13+
"PATH" : "${workspaceFolder}/virtenv/py38dev/Scripts"
14+
}
15+
},
16+
"problemMatcher": []
17+
},
18+
{
19+
"label": "serve",
20+
"type": "shell",
21+
"command": "mkdocs serve --livereload",
22+
"options": {
23+
"cwd": "${workspaceFolder}",
24+
"env": {
25+
"PATH" : "${workspaceFolder}/virtenv/py38dev/Scripts"
26+
}
27+
},
28+
"problemMatcher": []
29+
}
30+
]
31+
}

Development.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Development
22

3+
## VSCode
4+
5+
For those interested in using git / Visual Studio Code instead of github
6+
you can double click on the **hacman_docs.code-workspace** file to open
7+
8+
I'd recommend the following extensions
9+
10+
* https://github.com/yzhang-gh/vscode-markdown
11+
12+
you can get a side by site markdown preview window by typing "preview" into the command palette
13+
As well as a couple of tasks for serving with livereload
14+
15+
316
## Plugins
417

518
The plugins in use include

hacman_docs.code-workspace

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"folders": [
3+
{
4+
"name": "root",
5+
"path": "."
6+
},
7+
],
8+
"settings": {}
9+
}

0 commit comments

Comments
 (0)