Skip to main content
Configure Visual Studio Code for the best development experience with the Starter Kit. Install these extensions for optimal development:

Essential

ES7+ React/Redux/React-Native snippets
  • Publisher: dsznajder
  • Quick React component scaffolding
Tailwind CSS IntelliSense
  • Publisher: Bradlc
  • Autocomplete for Tailwind classes
  • Class name validation
TypeScript and JavaScript Language Features
  • Built-in with VS Code
  • Enable strict type checking
Prettier - Code formatter
  • Publisher: esbenp
  • Consistent code formatting
  • Auto-format on save
ESLint
  • Publisher: dbaeumer
  • Real-time linting
  • Auto-fix on save
Path Intellisense
  • Publisher: christian-kohler
  • Autocomplete for file paths
Auto Rename Tag
  • Publisher: formulahendry
  • Sync HTML/JSX tag editing

VS Code settings

Create .vscode/settings.json in your project:
.vscode/settings.json

Project-specific tasks

Create .vscode/tasks.json for quick actions:
.vscode/tasks.json
Run tasks with Cmd+Shift+B (macOS) or Ctrl+Shift+B (Windows/Linux).

Launch configuration

Create .vscode/launch.json for debugging:
.vscode/launch.json

Code snippets

Create .vscode/snippets.code-snippets for custom snippets:
.vscode/snippets.code-snippets

Keyboard shortcuts

Optimize your workflow with these shortcuts: Mac:
  • Cmd+P: Quick file open
  • Cmd+Shift+P: Command palette
  • Cmd+B: Toggle sidebar
  • Cmd+Shift+F: Global search
  • Cmd+Shift+B: Run build task
Windows/Linux:
  • Ctrl+P: Quick file open
  • Ctrl+Shift+P: Command palette
  • Ctrl+B: Toggle sidebar
  • Ctrl+Shift+F: Global search
  • Ctrl+Shift+B: Run build task

Workspace tips

If you have multiple related projects, create a workspace file:
my-workspace.code-workspace
Enable automatic formatting:
  1. Install Prettier extension
  2. Add to settings: "editor.formatOnSave": true
  3. Configure Prettier with .prettierrc
Sort imports automatically:

Troubleshooting

Common issues:
  • TypeScript not working: Reload window (Cmd+Shift+P → “Reload Window”)
  • Prettier conflicts: Disable other formatters for JavaScript/TypeScript
  • IntelliSense slow: Restart TS server (Cmd+Shift+P → “TypeScript: Restart TS Server”)

Next steps

AI Assistants

Set up AI coding assistants

Testing

Configure testing in VS Code