Unverified Commit 12f1b2f5 authored by Christof Marti's avatar Christof Marti Committed by GitHub

Custom instructions for features (#1314)

* Custom instructions for github-cli, node, python

* Custom instructions for docker-in-docker, docker-outside-of-docker
parent 091886b3
...@@ -71,7 +71,14 @@ ...@@ -71,7 +71,14 @@
"vscode": { "vscode": {
"extensions": [ "extensions": [
"ms-azuretools.vscode-docker" "ms-azuretools.vscode-docker"
] ],
"settings": {
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "This dev container includes the Docker CLI (`docker`) pre-installed and available on the `PATH` for running and managing containers using a dedicated Docker daemon running inside the dev container."
}
]
}
} }
}, },
"mounts": [ "mounts": [
......
...@@ -51,7 +51,14 @@ ...@@ -51,7 +51,14 @@
"vscode": { "vscode": {
"extensions": [ "extensions": [
"ms-azuretools.vscode-docker" "ms-azuretools.vscode-docker"
] ],
"settings": {
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "This dev container includes the Docker CLI (`docker`) pre-installed and available on the `PATH` for running and managing containers using the Docker daemon on the host machine."
}
]
}
} }
}, },
"mounts": [ "mounts": [
......
...@@ -19,6 +19,17 @@ ...@@ -19,6 +19,17 @@
"default": true "default": true
} }
}, },
"customizations": {
"vscode": {
"settings": {
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "This dev container includes the GitHub CLI (`gh`), which is pre-installed and available on the `PATH`. IMPORTANT: `gh api -f` does not support object values, use multiple `-f` flags with hierarchical keys and string values instead. When using GitHub actions `actions/upload-artifact` or `actions/download-artifact` use v4 or later."
}
]
}
}
},
"installsAfter": [ "installsAfter": [
"ghcr.io/devcontainers/features/common-utils", "ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/git" "ghcr.io/devcontainers/features/git"
......
...@@ -61,7 +61,14 @@ ...@@ -61,7 +61,14 @@
"vscode": { "vscode": {
"extensions": [ "extensions": [
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint"
] ],
"settings": {
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "This dev container includes `node`, `npm` and `eslint` pre-installed and available on the `PATH` for Node.js and JavaScript development."
}
]
}
} }
}, },
"containerEnv": { "containerEnv": {
......
...@@ -77,6 +77,11 @@ ...@@ -77,6 +77,11 @@
"ms-python.autopep8" "ms-python.autopep8"
], ],
"settings": { "settings": {
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "This dev container includes `python3` and `pip3` pre-installed and available on the `PATH`, along with the Python language extensions for Python development."
}
],
"python.defaultInterpreterPath": "/usr/local/python/current/bin/python", "python.defaultInterpreterPath": "/usr/local/python/current/bin/python",
"[python]": { "[python]": {
"editor.defaultFormatter": "ms-python.autopep8" "editor.defaultFormatter": "ms-python.autopep8"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment