Skip to content

Commit

Permalink
add Codespace support
Browse files Browse the repository at this point in the history
  • Loading branch information
zeriyoshi committed Aug 8, 2024
1 parent 46b2a6b commit a0755a8
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 20 deletions.
31 changes: 12 additions & 19 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
{
"name": "pskel",
"name": "pskel (for Codespaces)",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"maelvalais.autoconf"
]
}
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"maelvalais.autoconf",
"ms-azuretools.vscode-docker"
]
}
},
"dockerComposeFile": "../compose.yaml",
"service": "dev",
"mounts": [
{
"type": "bind",
"source": "./",
"target": "/work"
}
],
"workspaceFolder": "/work"
}
"dockerComposeFile": "./../compose.yaml",
"service": "dev"
}
23 changes: 23 additions & 0 deletions .devcontainer/local/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "pskel (for Local)",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"maelvalais.autoconf",
"ms-azuretools.vscode-docker"
]
}
},
"dockerComposeFile": "./../../compose.yaml",
"service": "dev",
"mounts": [
{
"type": "bind",
"source": "./",
"target": "/workspace/pskel"
}
],
"workspaceFolder": "/workspace/pskel"
}
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"files.associations": {
"*.phpt": "php"
"*.phpt": "php",
"*.c": "c",
"*.h": "c",
"*.cpp": "cpp",
"*.hpp": "cpp",
"*.cc": "cpp",
"*.cxx": "cpp"
},
"editor.tabSize": 4,
"editor.insertSpaces": false,
Expand Down

0 comments on commit a0755a8

Please sign in to comment.