Skip to content

Instantly share code, notes, and snippets.

@hemendrarajawat
Last active February 10, 2023 20:16
Show Gist options
  • Save hemendrarajawat/6796a4db6ee148774adf86b633e5e678 to your computer and use it in GitHub Desktop.
Save hemendrarajawat/6796a4db6ee148774adf86b633e5e678 to your computer and use it in GitHub Desktop.
VSCode Setting for SFDX Project
**/staticresources/**
.localdevserver
.sfdx
coverage/
{
"trailingComma": "none",
"tabWidth": 4,
"overrides": [
{
"files": "**/lwc/**/*.html",
"options": { "parser": "lwc", "printWidth": 120 }
},
{
"files": "*.{cmp,page,component}",
"options": { "parser": "html", "printWidth": 120 }
},
{
"files": "*.cls",
"options": { "parser": "apex", "printWidth": 120 }
},
{
"files": "*.xml",
"options": {
"parser": "xml",
"printWidth": 120,
"xmlWhitespaceSensitivity": "ignore"
}
},
{
"files": ".{prettierrc, json, jsonc}",
"options": { "parser": "json", "printWidth": 80 }
}
]
}
{
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.sfdx": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.detectIndentation": false,
"SFDoc.username": "",
"SFDoc.IncludeModificationLogScaffoldInFileHeader": true,
"SFDoc.IncludParameterTypeInMethodHeader": true,
"SFDoc.EnableForLightningJavascript": true,
"SFDoc.AlwaysUpdateFileHeaderOnSave": false,
"salesforcedx-vscode-core.show-cli-success-msg": false,
"apexPMD.runOnFileChange": true,
"apexPMD.runOnFileOpen": true,
"apexPMD.commandBufferSize": 128,
"editor.inlineSuggest.enabled": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment