Simple sample
{
"breadcrumbs.enabled" : false ,
"diffEditor.ignoreTrimWhitespace" : false , // Ignore changes in leading and trailing whitespace when diffing files
"editor.autoClosingBrackets" : "never" , // Don't add closing brackets after inserting an opening one
"editor.autoClosingDelete" : "never" ,
"editor.autoClosingOvertype" : "never" ,
"editor.autoClosingQuotes" : "never" , // Don't automatcially close an opened quote
"editor.autoIndent" : "full" , // Other possible values: none, keep, brackets, advanced, full
"editor.cursorSmoothCaretAnimation" : "off" , // off is the default
"editor.fontSize" : 11 ,
"editor.fontWeight" : "normal" ,
"editor.fontFamily" : "Consolas, 'Courier New', monospace",
"editor.fontLigatures" : true , // Does this have a noticeable effect?
"editor.lineNumbers" : "on" ,
"editor.renderWhitespace" : "trailing" , // Show whitespace before end of line (other values: none, boundary, selection, all). Compare with "files.trimFinalNewlines"
"editor.wordSeparators" : "`~!@#$%^&*(),=+[{]}\\|;:'\"-.<>/?",
"editor.tabSize" : 4 ,
"extensions.ignoreRecommendations" : true , // Silence extension recommendation
"extensions.showRecommndationsOnlyOnDemand" : true , // Remove the RECOMMENDED section
// Related to folding
"editor.showFoldingControls" : "always" ,
"editor.foldingStrategy" : "auto" , // or indentation
"files.associations" : { // Set explicit file types for given file extensions and name patterns
"*.wsf": "vb" , // Map wsf and cls to 'Visual Basic'.
"*.cls": "vb" // Find language identifiers (such as 'vb') at https://code.visualstudio.com/docs/languages/identifiers
},
"files.autoSave" : "off" ,
"files.autoGuessEncoding" : true , // default is false!
"files.encoding" : "windows1252", // or utf8 or ...
"files.hotExit" : "off" , // default is onExit
"files.insertFinalNewline" : false ,
"files.restoreUndoStack" : true , // When file is reopened
"files.saveConflictResolution" : "askUser" ,
"files.trimFinalNewlines" : false , // Compare with "editor.renderWhitespace = trailing"
"search.smartCase" : false , // Applies to the search window only, not «regular» ctrlf- searching:
// Search case-insensitively when pattern is all lowercase, case-sensitively otherwise
"security.workspace.trust.untrustedFiles" : "open" , // prompt : Ask how untrated files are hanled in a workspace. (default).
// open : Do not prompt when files outside of trusted workspaces are opened.
// newWindow: Always Create new windows in restricted mode
"window.newWindowDimensions" : "maximized" , // or default (center of screen), inherit, offset, fullscreen
"window.title" : "${dirty}${activeEditorLong}", // Use activeEditorLong rather than "breadcrumbs.enabled"
"window.zoomLevel" : 0 ,
"workbench.colorTheme" : "Quiet Light",
"workbench.statusBar.visible" : true ,
"workbench.startupEditor" : "none" , // Do not show the welcome page when VS code is started
"workbench.settings.editor" : "json" , // Make File -> Preferences -> Settings open THIS settings.json (rather than edit in a GUI editor)
// Set value to "ui" to edit settings using the GUI
"vim.foldfix" : true ,
"vim.digraphs" : {"oo": ["Bullet Point", [8226]],
"<<": ["laquo" , [ 369]],
">>": ["raquo" , [ 391]],
},
"vim.insertModeKeyBindings" : [{ "before" : ["j", "j"] ,
"after" : ["<Esc>" ]},
{ "before" : ["j", "w"] ,
"commands": ["workbench.action.files.save"],
"after" : ["<ESC>" ],
}],
"vim.easymotion" : true,
"explicitFolding.rules" : {
//
// Settings for extension Explicit Folding
//
"*": {
"begin": "{{{",
"end" : "}}}"
},
"vb": [
{
"begin": "' {",
"end" : "' }"
},
{
"begin": "{{{",
"end" : "}}}"
}
],
"sql": [
{
"begin": "-- {",
"end" : "-- }"
},
{
"begin": "{ */",
"end" : "} */"
}
]
// ---------------------------------------
// 2021-07-28: why does this not work:
//
// "hlg": [
// {
// "begin": " {",
// "end" : " }"
// }
// ]
// ---------------------------------------
}
/*
"[plsql]": {
"folding": {
"markers": {
"start": "{{{",
"end": "}}}"
}
}
}
*/
}