Core VS Code settings for Daniel's TypeScript development workflow.
Create or update .vscode/settings.json in your project root:
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.sortImports": "always"
},
"[typescript]": {
"editor.formatOnType": true
},
"[typescriptreact]": {
"editor.formatOnType": true
},
"typescript.suggest.autoImports": true
}editor.formatOnSave: Automatically formats files when savingeditor.defaultFormatter: Uses Prettier as the default formattersource.sortImports: Automatically sorts imports on saveeditor.formatOnType: Enables real-time formatting for TypeScript filestypescript.suggest.autoImports: Enables automatic import suggestions
Extension recommendations are documented in a separate section.
These settings work best when combined with:
- Prettier configuration (see Prettier setup guide)
- TypeScript configuration (
tsconfig.json) - Proper linting setup (ESLint recommended)