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,8 +71,15 @@
"vscode": {
"extensions": [
"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": [
{
......
......@@ -51,8 +51,15 @@
"vscode": {
"extensions": [
"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": [
{
......
......@@ -19,6 +19,17 @@
"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": [
"ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/git"
......
......@@ -61,8 +61,15 @@
"vscode": {
"extensions": [
"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": {
"NVM_DIR": "/usr/local/share/nvm",
......
......@@ -77,6 +77,11 @@
"ms-python.autopep8"
],
"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]": {
"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