Skip to content

Instantly share code, notes, and snippets.

@adamhill
Created March 24, 2025 20:00
Show Gist options
  • Save adamhill/a584dffc61c4ad66423bf67904a53c95 to your computer and use it in GitHub Desktop.
Save adamhill/a584dffc61c4ad66423bf67904a53c95 to your computer and use it in GitHub Desktop.
vscode-diff-settings
`{
"type": "setting",
"description": "Enable the minimap to show change indicators alongside your code.",
"details": {
"key": "editor.minimap.enabled",
"value": true
}
},
{
"type": "setting",
"description": "Show Git decorations in editors, file explorer, and other UI elements.",
"details": {
"key": "git.decorations.enabled",
"value": true
}
},
{
"type": "setting",
"description": "Configure the diff editor to show changes side by side for better visualization.",
"details": {
"key": "diffEditor.renderSideBySide",
"value": true
}
},
{
"type": "setting",
"description": "Enable CodeLens in diff views for additional context about changes.",
"details": {
"key": "diffEditor.codeLens",
"value": true
}
},
{
"type": "setting",
"description": "Show line changes in the editor gutter (left margin).",
"details": {
"key": "scm.diffDecorations",
"value": "all"
}
},
{
"type": "setting",
"description": "Control the visibility of diff decorations in the gutter.",
"details": {
"key": "scm.diffDecorationsGutterVisibility",
"value": "always"
}
},
{
"type": "command",
"description": "Use the **Toggle Minimap** command to show or hide the minimap if needed.",
"details": {
"key": "editor.action.toggleMinimap"
}
},
{
"type": "command",
"description": "Use the **Show Changes** command to open the Source Control view and see all changes.",
"details": {
"key": "workbench.view.scm"
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment