Skip to content

💡[Feature]: Add VS Code Dev Container for Automated Setup #830

@sheikhlimon

Description

@sheikhlimon

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

Add a VS Code Dev Container (.devcontainer) to automate the project setup for contributors. This will ensure a consistent development environment and automatically install recommended extensions and settings.

Use Case

New contributors often spend significant time setting up the project locally, including:

  • Installing the correct Node.js version
  • Installing project dependencies
  • Configuring VS Code extensions for ESLint, Prettier, and TailwindCSS
  • Setting up environment variables and editor settings

Example:

{
  "name": "Project Dev Container",
  "image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:lts"
  "extensions": [
    "esbenp.prettier-vscode",
    "dbaeumer.vscode-eslint",
    "bradlc.vscode-tailwindcss"
  ],
  "settings": {
    "editor.formatOnSave": true
  }
}

Benefits

  • Fully consistent environment for all contributors.
  • Automatic installation of recommended VS Code extensions.
  • Reduces onboarding friction for new contributors.

Additional Notes

This setup works for contributors using VS Code with the Dev Containers extension. Those not using VS Code or containers can still contribute normally.

Add ScreenShots

No response

Priority

Low

Record

  • I have read the Contributing Guidelines
  • Are you a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions