Skip to content

Commit 3a52fbd

Browse files
authored
Update template devcontainer for gh-cli; codechat (#450)
1 parent 54628ca commit 3a52fbd

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

templates/devcontainer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
// If you only intend to build for web and don't have any latex-image generated assets, you can use a smaller image:
99
// "image": "oscarlevin/pretext:lite",
1010

11-
11+
// Add gh cli as a feature (to support chodechat)
12+
"features": {
13+
"ghcr.io/devcontainers/features/github-cli:1": {}
14+
},
1215

1316
// The following was the previous version of this file, which used the Codespaces base image. It is still available for reference, but is not recommended.
1417
// "image": "mcr.microsoft.com/devcontainers/python:3",
@@ -31,7 +34,6 @@
3134
// },
3235
// "onCreateCommand": "pip install pretext",
3336
// // Use 'postCreateCommand' to run commands after the container is created.
34-
// "postCreateCommand": "sudo bash ./.devcontainer/postCreateCommand.sh",
3537

3638
// Configure tool-specific properties.
3739
"customizations": {
@@ -46,9 +48,10 @@
4648
"other": "off"
4749
},
4850
"editor.snippetSuggestions": "top",
49-
"xml.validation.enabled": false
51+
"xml.validation.enabled": false,
52+
"CodeChat.CodeChatServer.Command": "CodeChat_Server"
5053
},
51-
"extensions": ["ms-vscode.live-server", "oscarlevin.pretext-tools"]
54+
"extensions": ["ms-vscode.live-server", "oscarlevin.pretext-tools", "CodeChat.codechat"]
5255
}
5356
}
5457

0 commit comments

Comments
 (0)