Skip to content

Commit cb89e97

Browse files
committed
update devcontainer template to open README.md instead of main.ptx, and to autoSave after delay
1 parent b42d109 commit cb89e97

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

templates/devcontainer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
// "image": "pretextbook/pretext:latest",
1919
"features": {"ghcr.io/devcontainers/features/github-cli": {}},
2020

21-
// The pretext-full image above includes pretext, prefigure, and enough parts of latex and sagemath for most cases. If there are errors with sage, you can install the full sagemath package through Conda by running ./.devcontainer/installSage.sh, or uncommenting that line and rebuilding the container.
21+
// The pretext-full image above includes pretext, prefigure, and enough parts of latex and sagemath for most cases. Here we install additional dependencies.
2222
"postCreateCommand": {
23-
// "install sagemath": "bash ./.devcontainer/installSage.sh",
2423
"install pandoc": "bash ./.devcontainer/installPandoc.sh",
2524
"mark repo as safe": "git config --global --add safe.directory $(pwd)"
2625
},
@@ -57,18 +56,18 @@
5756
}
5857
},
5958

60-
59+
6160
// Configure tool-specific properties.
6261
"customizations": {
6362
"codespaces": {
64-
"openFiles": ["source/main.ptx"]
63+
"openFiles": ["README.md"]
6564
},
6665
"vscode": {
6766
"settings": {
6867
"editor.quickSuggestions": {
6968
"other": "off"
7069
},
71-
"files.autoSave": "onFocusChange",
70+
"files.autoSave": "afterDelay",
7271
"editor.snippetSuggestions": "bottom",
7372
"xml.validation.enabled": true,
7473
"redhat.telemetry.enabled": false,

0 commit comments

Comments
 (0)