Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

73 add language specific devcontainers #75

Merged
merged 9 commits into from
Oct 14, 2023
61 changes: 0 additions & 61 deletions .devcontainer.json

This file was deleted.

22 changes: 22 additions & 0 deletions .devcontainer/c-sharp/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "C-Sharp",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"postCreateCommand": "cd c-sharp && make init",
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme"
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"ms-dotnettools.csharp",
"ms-dotnettools.csdevkit"
]
}
}
}
23 changes: 23 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Default",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
// "containerEnv": {
// "DISABLE_JAVA_BUILD": "true"
// }, This prevents Java from defaulting to Java 11. At time of writing it will then go to 17.
brenno263 marked this conversation as resolved.
Show resolved Hide resolved
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme",
"redhat.telemetry.enabled": false
},
"extensions": [
"ms-vsliveshare.vsliveshare"
]
}
}
}
21 changes: 21 additions & 0 deletions .devcontainer/go/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Go",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"postCreateCommand": "cd go && make init",
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme"
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"golang.go"
]
}
}
}
29 changes: 29 additions & 0 deletions .devcontainer/java-spring-boot/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "Java Spring Boot",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"containerEnv": {
"DISABLE_JAVA_BUILD": "true"
},
"postCreateCommand": "cd java-spring-boot && make init",
"customizations": {
"vscode": {
"settings": {
"java.server.launchMode": "Standard",
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme",
"redhat.telemetry.enabled": false
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"vscjava.vscode-java-pack",
"vscjava.vscode-java-test",
"vscjava.vscode-maven",
"ms-azuretools.vscode-docker"
]
}
}
}
28 changes: 28 additions & 0 deletions .devcontainer/java/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "Java",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"containerEnv": {
"DISABLE_JAVA_BUILD": "true"
},
"postCreateCommand": "cd java && make init",
"customizations": {
"vscode": {
"settings": {
"java.server.launchMode": "Standard",
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme",
"redhat.telemetry.enabled": false
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"vscjava.vscode-java-pack",
"vscjava.vscode-java-test",
"vscjava.vscode-maven"
]
}
}
}
22 changes: 22 additions & 0 deletions .devcontainer/javascript/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Javascript",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"postCreateCommand": "cd javascript && make init",
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme"
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"dbaeumer.vscode-eslint",
"firsttris.vscode-jest-runner"
]
}
}
}
31 changes: 31 additions & 0 deletions .devcontainer/jupyter-notebook/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Jupyter Notebook",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"postCreateCommand": "cd jupyter-notebook && make init",
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"python": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.languageServer": "Pylance",
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme"
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"ms-python.pylint",
"ms-python.mypy-type-checker",
"matangover.mypy",
"ms-toolsai.jupyter"
]
}
}
}
30 changes: 30 additions & 0 deletions .devcontainer/python/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "Python",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"postCreateCommand": "cd python && make init",
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"python": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.languageServer": "Pylance",
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme"
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"ms-python.pylint",
"ms-python.mypy-type-checker",
"matangover.mypy"
]
}
}
}
22 changes: 22 additions & 0 deletions .devcontainer/typescript-react/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Typescript React",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"postCreateCommand": "cd typescript-react && make init",
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme"
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"dbaeumer.vscode-eslint",
"firsttris.vscode-jest-runner"
]
}
}
}
22 changes: 22 additions & 0 deletions .devcontainer/typescript/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Typescript",
"image": "mcr.microsoft.com/devcontainers/universal:focal",
"postCreateCommand": "cd typescript && make init",
"customizations": {
"vscode": {
"settings": {
"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.languages.allowGuestCommandControl": true,
"liveshare.publishWorkspaceInfo": true,
"extensions.ignoreRecommendations": true,
"workbench.startupEditor": "readme"
},
"extensions": [
"ms-vsliveshare.vsliveshare",
"dbaeumer.vscode-eslint",
"firsttris.vscode-jest-runner"
]
}
}
}
17 changes: 0 additions & 17 deletions resources/init.sh

This file was deleted.

25 changes: 0 additions & 25 deletions resources/languageSelect.py

This file was deleted.