This is the generic Settings file that I typically use. As I'm syncing between them it must be compatible. My user name in the three evironments is the same (luis) and the directories where this file is found is:
- Windows - C:\Users\luis\AppData\Roaming\Code\User
- MacOS - /Users/luis/Library/Application Support/Code/User
- Linux - /home/luis/.config/Code/User
{
// General
"editor.wordWrap": "on",
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.associations": {
"*.json": "jsonc"
},
// Name: Trailing Spaces
// Id: shardulm94.trailing-spaces
// Description: Highlight trailing spaces and delete them in a flash!
// VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=shardulm94.trailing-spaces
"trailing-spaces.trimOnSave": true,
// Security - I don't use workspace trust by default
"security.workspace.trust.untrustedFiles": "open",
"security.workspace.trust.enabled": false
"git.openRepositoryInParentFolders": "always",
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.autofetch": true,
"openInDefaultBrowser.run.openWithLocalHttpServer": false,
"terminal.integrated.enableMultiLinePasteWarning": "never",
"explorer.confirmDelete": false,
"editor.accessibilitySupport": "off",
"search.followSymlinks": false,
"workbench.colorTheme": "Default Light Modern",
"projectManager.git.baseFolders": [
"C:\\Users\\luis\\00.git",
"/Users/luis/00.git",
"/home/luis/00.git"
],
"markdownlint.config": {
"MD023": false
}
}This are some options that I tend to use per project, under .vscode/settings.json. I'm listing here the ones that I set or don't set depending on the type of OS or situation
{
"files.eol": "\n",
"terminal.integrated.fontSize": 11,
}// Security - I don't use workspace trust by default