Skip to content

Instantly share code, notes, and snippets.

@danielborowski
Last active October 13, 2026 18:47
Show Gist options
  • Select an option

  • Save danielborowski/b21e1adf8b751c31b476ba35d805a9e0 to your computer and use it in GitHub Desktop.

Select an option

Save danielborowski/b21e1adf8b751c31b476ba35d805a9e0 to your computer and use it in GitHub Desktop.
VS Code custom settings

VSCode project config

.vscode/settings.json

cb-ai-assistant.enabled can be set to false to disable the AI Assistant extension for the container. By default it is set to true.

{
    "cb-ai-assistant.enabled": true
}

.coderbyte/settings.json

Coderbyte project specific settings.

  1. To install custom extensions on startup, provide the array of extension installation identifiers under extensions.install property.
  2. Preinstall custom packages:
    • java: gradlew or maven - will install packages as set in /home/workspace/project java configuration
    • node: a list of npm packages will be installed via npm install
    • python: a list of pip packages will be installed via pip install
  3. Scripts that run upon container start in /home/workspace/project directory
  4. Custom grading script that runs upon submission. Our platform then uses the outputs of the TAP and XML files to assign a final score.
{
  "extensions": {
    "install": [
      "ms-python.python",
      "esbenp.prettier-vscode"
    ]
  },
  "packages": {
    "java": "gradlew",
    "node": [
      "express",
      "uuid"
    ],
    "python": [
      "uuid",
      "pycparser",
      "pydantic"
    ]
  },
  "scripts": [
    "npm run build",
    "python3 manage.py migrate",
  ],
  "grading": {
      "command": "./run-tests.sh",
      "output": {
         "tap": ["file1.tap", "file2.tap"],
         "junit": ["file1.xml"]
      }
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment