VS Code Setup for DILVE Help Project
This guide will help team members set up VS Code with the same configuration, extensions, and shortcuts.
🚀 Quick Setup (Automatic)
When you open this project in VS Code, you'll see a notification:
"This workspace has extension recommendations"
Click "Install All" to automatically install the recommended extensions.
📦 Manual Extension Installation
If you missed the notification, install extensions manually:
Method 1: Via Command Palette
- Press
Ctrl+Shift+P(orCmd+Shift+Pon Mac) - Type:
Extensions: Show Recommended Extensions - Click "Install" on each extension
Method 2: Via Extensions Panel
- Click the Extensions icon (left sidebar) or press
Ctrl+Shift+X - Type
@recommendedin the search box - Install all listed extensions
Required Extensions:
- Prettier (
esbenp.prettier-vscode) - Code formatter - ESLint (
dbaeumer.vscode-eslint) - JavaScript linter - Markdown All in One (
yzhang.markdown-all-in-one) - Markdown editing - MDX (
unifiedjs.vscode-mdx) - MDX file support - npm IntelliSense (
christian-kohler.npm-intellisense) - Auto-complete npm modules - Path IntelliSense (
christian-kohler.path-intellisense) - Auto-complete file paths
Optional but Recommended:
- GitHub Copilot (
github.copilot) - AI code suggestions (requires subscription) - Spanish Language Pack (
ms-ceintl.vscode-language-pack-es) - Spanish UI
⚙️ Settings (Already Configured)
The .vscode/settings.json file contains shared workspace settings that apply automatically:
- ✅ Format on Save: Enabled
- ✅ Auto-fix ESLint errors: On save
- ✅ Prettier as default formatter
- ✅ Trim trailing whitespace: Automatic
- ✅ Insert final newline: Automatic
These settings apply only to this project and won't affect your other VS Code projects.
⌨️ Recommended Keyboard Shortcuts
Editing
| Shortcut | Action |
|---|---|
Ctrl+D | Select next occurrence of word |
Alt+Up/Down | Move line up/down |
Shift+Alt+Up/Down | Copy line up/down |
Ctrl+/ | Toggle line comment |
Shift+Alt+F | Format document |
Navigation
| Shortcut | Action |
|---|---|
Ctrl+P | Quick open file |
Ctrl+Shift+F | Search in files |
Ctrl+B | Toggle sidebar |
Ctrl+ ` | Toggle terminal |
Ctrl+\ | Split editor |
Git
| Shortcut | Action |
|---|---|
Ctrl+Shift+G | Open Source Control |
Ctrl+Enter | Commit (in commit message box) |
Markdown Specific
| Shortcut | Action |
|---|---|
Ctrl+B | Toggle bold |
Ctrl+I | Toggle italic |
Ctrl+Shift+V | Open markdown preview |
Ctrl+K V | Open preview side-by-side |
🏃 Running the Project
Start Development Server
npm run start
Or use the Run Task feature:
- Press
Ctrl+Shift+P - Type:
Tasks: Run Task - Select "npm: start"
Build Production Site
npm run build
Other Tasks
View available tasks in .vscode/tasks.json or by pressing Ctrl+Shift+P → Tasks: Run Task
🎨 Customizing Your Personal Settings
To customize settings for all your projects (not just this one):
- Press
Ctrl+,(orFile → Preferences → Settings) - Change settings in the User tab (not Workspace tab)
Common personal preferences:
- Theme:
File → Preferences → Color Theme - Font Size: Search "font size" in settings
- Auto Save: Search "auto save" in settings
🔄 Syncing Your Personal Settings (Optional)
To sync your personal VS Code settings across computers:
- Click the gear icon (bottom left) → "Turn on Settings Sync"
- Sign in with Microsoft or GitHub account
- Choose what to sync: Settings, Keybindings, Extensions, etc.
Note: This syncs YOUR personal settings, not the team's workspace settings.
📁 Project Structure Reference
dilvehelp/
├── .vscode/ # VS Code workspace config (shared via Git)
│ ├── settings.json # Editor settings for this project
│ ├── extensions.json # Recommended extensions
│ └── tasks.json # Build/run tasks
├── docs/ # Documentation source files
├── src/ # Components and custom code
├── static/ # Static assets
├── package.json # Project dependencies
└── docusaurus.config.ts # Docusaurus configuration
🆘 Troubleshooting
Extensions not installing
- Check your internet connection
- Restart VS Code
- Try installing manually: Extensions panel → Search by name → Install
Format on Save not working
- Make sure Prettier extension is installed
- Check bottom-right of VS Code: Should show "Prettier" as formatter
- If not, right-click in a file → "Format Document With..." → Choose Prettier
ESLint not showing errors
- Make sure ESLint extension is installed
- Run:
npm installto ensure dependencies are installed - Restart VS Code
Tasks not appearing
- Make sure you've run
npm installfirst - Check
.vscode/tasks.jsonexists - Try:
Ctrl+Shift+P→Tasks: Run Task
🤝 Getting Help
- VS Code Docs: code.visualstudio.com/docs
- Docusaurus Docs: docusaurus.io
- Team Lead: [Add contact info]
- Project GitHub: [Add your GitHub repo URL]
Last Updated: January 25, 2026