(Back-up & shareable purposes other than Cloud / Local Workspaces.)
Recommended: Add CMD Here
Context.
double-click it to add it.
Recommended: Have a System Restore Point if modifying the Registry Editor.
CMD Here
from anywhere in File Explorer by cloning the repository:
and running in its PATH:
./CMD.reg
- Open a File Explorer and type the Environment Variable address: %AppData%\Code\User\settings.json
- Open CMD with Search in the taskbar (anywhere):
- Use
CMD Here
in File Explorer (anywhere):
%AppData%\Code\User\settings.json
Be aware of timeline (on any file).
// User's Custom VSCode settings.json:
{
"docsView.documentationView.updateMode": "live", // Update mode for the docs view: "live" or "onType".
"security.workspace.trust.untrustedFiles": "open", // Behavior for opening untrusted files in the workspace: "open" or "prompt".
"git.openRepositoryInParentFolders": "always", // Open repositories in parent folders when opening a folder: "always", "smart", or "off".
"powershell.analyzeOpenDocumentsOnly": true, // Analyze only the open PowerShell documents: true or false.
"explorer.compactFolders": true, // Display folders in a compact form in the explorer: true or false.
"settingsSync.ignoredExtensions": [], // List of extensions to be ignored during settings synchronization.
"telemetry.telemetryLevel": "off", // Level of telemetry data to be sent: "off", "on", or "verbose".
//Notebook settings
"notebook.output.scrolling": true,
"notebook.output.textLineLimit": 300,
"notebook.output.lineHeight": 1.2,
"notebook.output.wordWrap": true,
"notebook.lineNumbers": "on",
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
//Voice Assistant Settings
"b4rtaz.voice-assistant": {
"enable": true
},
//Jupyter Notebook Settings
"jupyter.logKernelOutputSeparately": true,
"jupyter.widgetScriptSources": [],
"jupyter.interactiveWindow.textEditor.executeSelection": true,
"jupyter.allowUnauthorizedRemoteConnection": false,
"jupyter.jupyterCommandLineArguments": [],
//Editor Settings
"editor.fontWeight": "normal",
"editor.fontSize": 12,
"editor.inlineSuggest.enabled": true,
"editor.inlineSuggest.showToolbar": "always",
"editor.suggest.showClasses": true,
"editor.suggest.showProperties": true,
"editor.codeActionsOnSave": {},
//Terminal Settings
"terminal.integrated.gpuAcceleration": "on", // Controls GPU acceleration for the terminal: "on", "off", or "canvas".
"terminal.integrated.persistentSessionReviveProcess": "onExitAndWindowClose", // Controls when terminal processes are restored: "onExit", "onExitAndWindowClose", or "never".
"terminal.sourceControlRepositoriesKind": "both", // Controls whether to show repositories detected in the workspace or in the open file's folder: "workspace", "file", or "both".
"terminal.integrated.tabs.title": "${local}", // Controls the title of the terminal tabs: string.
"terminal.integrated.fontSize": 14, // Controls the font size in pixels for the terminal: number.
"terminal.integrated.defaultProfile.windows": "PowerShell", // Controls the default profile for the terminal on Windows: string.
"terminal.integrated.scrollback": 10000, // Controls the maximum amount of lines the terminal keeps in its buffer: number.
"terminal.integrated.persistentSessionScrollback": 10000, // Controls the maximum amount of lines the terminal keeps in its buffer when a session is restored: number.
"terminal.integrated.automationProfile.windows": null, // Controls the profile to use for new terminals created as part of automation: string or null.
"terminal.integrated.fontWeight": "normal", // Controls the font weight for the terminal: "normal", "bold", number between "1" and "1000".
//Workbench Settings
"workbench.editor.enablePreview": false,
"workbench.sideBar.location": "right",
"workbench.preferredDarkColorTheme": "Default Dark+",
"workbench.preferredLightColorTheme": "Default Light+",
"workbench.startupEditor": "welcomePage",
"workbench.enableExperiments": true,
"workbench.preferredHighContrastLightColorTheme": "Default High Contrast Light",
"workbench.editor.tabSizing": "shrink",
"workbench.colorCustomizations": {},
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook",
"*.csv": "gc-excelviewer-csv-editor",
"*.dat": "default"
},
//Remote Settings
"remote.tunnels.access.hostNameOverride": "EstebanMqz",
"remote.tunnels.access.preventSleep": true,
"remote.downloadExtensionsLocally": true,
/* VSCode (pre)recognized extensions:
.js: JavaScript,
.ts: TypeScript,
.html: HTML,
.css: CSS,
.json: JSON,
.py: Python,
.java: Java,
.c: C,
.cpp: C++,
.cs: C#,
.php: PHP,
.rb: Ruby,
.go: Go,
.rs: Rust,
.swift: Swift,
.sh: Shell (Bash),
.bat: Batch (CMD),
.ps1: PowerShell,
.md: Markdown,
.r: R,
.yml: YAML, & .yaml: YAML,
.xml: XML,
.sql: SQL,
.dart: Dart,
.kt: Kotlin,
.scala: Scala,
.lua: Lua,
.groovy: Groovy,
.pl: Perl */
"files.associations": {
"*.csv": "gc-excelviewer-csv-editor",
"*.ipynb": "jupyter-notebook",
},
//Set up markdown all in one as the default formatter
"[markdown]": {
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.defaultFormatter": "yzhang.markdown-all-in-one",
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"editor.wordWrap": "on",
},
"[html]": {
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.suggest.showProperties": true,
"editor.suggest.showVariables": true,
"editor.suggest.showColors": true,
"editor.suggest.showClasses": true,
"editor.suggest.showFiles": true,
"editor.wordWrap": "on"
},
"[css]": {
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.formatOnSaveMode": "modifications",
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.suggest.showClasses": true,
"editor.suggest.showProperties": true,
"editor.suggest.showVariables": true,
"editor.suggest.showColors": true,
"editor.suggest.showFiles": true,
"editor.suggest.showUnits": true,
"editor.suggest.showFunctions": true,
"editor.suggest.showValues": true,
"editor.wordWrap": "on"
},
"[python]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[jupyter]": {
"editor.formatOnSave": true,
"editor.formatOnType": true
},
"[RMarkdown]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[R]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on",
"editor.guides.highlightActiveIndentation": true,
},
"[shellscript]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[powershell]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[bat]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[yaml]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[javascript]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[json]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[csharp]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[php]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[java]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[cpp]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"[plaintext]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.wordWrap": "on"
},
"liveshare.accessibility.voiceEnabled": false,
"terminal.integrated.commandsToSkipShell": [
"github.copilot.terminal.suggestCommand",
"matlab.interrupt"
],
// Location of Resources on a Network for UNC (Universal Naming Convention) hosts usage.
"security.allowedUNCHosts": [
"wsl.localhost"
],
// GitHub Copilot Settings.
"github.copilot.editor.enableAutoCompletions": true, //Deprecated: "inlineSuggest.enable"
"github.copilot.enable": {
"*": true, // All Languages Autocompletions.
"plaintext": true, // Autocompletions for .txt files.
"markdown": true,
"scminput": false // Git Commit Messages Autocompletions
},
// Settings.json Advanced Copilot features.
"github.copilot.advanced": {
"enable": true,
"enableAutocomplete": true,
"inlineSuggestCount": 500,
"enableAutocompleteInAllLanguages": true,
"enableAutocompleteInAllComments": true,
"enableAutocompleteInAllStrings": true,
"enableAutocompleteInAllLiterals": true,
"enableAutocompleteInAllMarkdown": true,
"enableAutocompleteInAllYaml": true,
"enableAutocompleteInAllJson": true,
"enableAutocompleteInAllXml": true,
"enableAutocompleteInAllHtml": true,
"enableAutocompleteInAllCss": true,
"enableAutocompleteInAllJs": true,
"enableAutocompleteInAllTs": true,
"enableAutocompleteInAllPython": true,
"enableAutocompleteInAllJava": true,
"enableAutocompleteInAllCsharp": true,
"enableAutocompleteInAllCpp": true,
"enableAutocompleteInAllPhp": true,
"enableAutocompleteInAllShell": true,
"enableAutocompleteInAllPowershell": true,
"enableAutocompleteInAllBat": true,
"enableAutocompleteInAllR": true,
"enableAutocompleteInAllRmd": true,
"enableAutocompleteInAllRmarkdown": true,
"enableAutocompleteInAllJupyter": true,
"enableAutocompleteInYamlComments": true,
"enableAutocompleteInJsonComments": true,
"enableAutocompleteInXmlComments": true,
"enableAutocompleteInHtmlComments": true,
"enableAutocompleteInCssComments": true,
"enableAutocompleteInJsComments": true,
"enableAutocompleteInTsComments": true,
"enableAutocompleteInPythonComments": true,
"enableAutocompleteInJavaComments": true,
"enableAutocompleteInCsharpComments": true,
"enableAutocompleteInCppComments": true,
"enableAutocompleteInPhpComments": true,
"enableAutocompleteInShellComments": true,
"enableAutocompleteInPowershellComments": true,
"enableAutocompleteInBatComments": true,
"enableAutocompleteInRComments": true,
"enableAutocompleteInRmdComments": true,
"enableAutocompleteInRmarkdownComments": true,
"enableAutocompleteInJupyterComments": true,
"enableAutocompleteInYamlStrings": true,
"enableAutocompleteInJsonStrings": true,
"enableAutocompleteInXmlStrings": true,
"enableAutocompleteInHtmlStrings": true,
"enableAutocompleteInCssStrings": true,
"enableAutocompleteInJsStrings": true,
"enableAutocompleteInTsStrings": true,
"enableAutocompleteInPythonStrings": true,
"enableAutocompleteInJavaStrings": true,
"enableAutocompleteInCsharpStrings": true,
"enableAutocompleteInCppStrings": true,
"enableAutocompleteInPhpStrings": true,
"enableAutocompleteInShellStrings": true,
"enableAutocompleteInPowershellStrings": true,
"enableAutocompleteInBatStrings": true,
"enableAutocompleteInRStrings": true,
"enableAutocompleteInRmdStrings": true,
"enableAutocompleteInRmarkdownStrings": true,
"enableAutocompleteInJupyterStrings": true,
//Win-CA Certificate to insert in Node.js trust store.
"win-ca": {
"inject": "append", // Controls how the certificates are injected: "append", "replace", or "off".
"store": [
{
"name": "EstebanMqz", // The name of the certificate store: string.
"path": "C:\\Users\\Esteban\\AppData\\Local\\mkcert\\rootCA.pem" // The path to the certificate store: string.
}
],
},
},
"vs-kubernetes": {
"vscode-kubernetes.helm-path-windows": "C:\\Users\\Esteban\\.vs-kubernetes\\tools\\helm\\windows-amd64\\helm.exe",
"vscode-kubernetes.kubectl-path-windows": "C:\\Users\\Esteban\\.vs-kubernetes\\tools\\kubectl\\kubectl.exe",
"vscode-kubernetes.minikube-path-windows": "C:\\Users\\Esteban\\.vs-kubernetes\\tools\\minikube\\windows-amd64\\minikube.exe"
},
"workbench.statusBar.visible": false,
"python.defaultInterpreterPath": "C:\\Users\\Esteban\\AppData\\Local\\Programs\\Python\\Python311\\python.exe",
"markdownlint.config": {
"MD001": false,
"MD013": false,
"MD024": false,
"MD029": false,
"MD033": false,
"MD045": false,
"MD047": false
},
"terminal.integrated.shellIntegration.decorationsEnabled": "gutter",
"terminal.integrated.profiles.windows": {
"PowerShell Extension": {
/* PowerShell Extension Options:
-NoLogo: Suppresses the display of the PowerShell logo.
-NoProfile: Does not load the PowerShell profile.
-ExecutionPolicy: Sets the execution policy to Bypass.
-Command: Specifies the PowerShell command to run.
Import-Module: Imports the PowerShellEditorServices module.
Start-EditorServices: Starts the PowerShellEditorServices module with the specified parameters.
-HostName: Specifies the host name as 'Visual Studio Code Host'.
-HostProfileId: Specifies the host profile ID as 'Microsoft.VSCode'.
-HostVersion: Specifies the host version as '2020.6.0'.
-AdditionalModules: Specifies additional modules to import.
-BundledModulesPath: Specifies the path to bundled modules.
-EnableConsoleRepl: Enables the console REPL (Read-Eval-Print Loop).
-LogLevel: Sets the log level to 'Normal'.
-LogPath: Specifies the path to the log file.
-SessionDetailsPath: Specifies the path to the session details file.
-FeatureFlags: Specifies feature flags to enable.
*/
"path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"args": [
"-ExecutionPolicy", "Bypass",
"-Command",
"Import-Module 'C:\\Users\\Esteban\\.vscode\\extensions\\ms-vscode.powershell-2024.2.2\\modules\\PowerShellEditorServices\\PowerShellEditorServices.psd1'",
"-Start-EditorServices -HostName 'Visual Studio Code Host'",
"-HostProfileId 'Microsoft.VSCode'",
"-HostVersion '2020.6.0'",
"-AdditionalModules @()",
"-BundledModulesPath 'C:\\Users\\Esteban\\.vscode\\extensions\\ms-vscode.powershell-2024.2.2\\modules'",
"-EnableConsoleRepl",
"-LogLevel 'Normal'",
"-LogPath 'C:\\Users\\Esteban\\.vscode\\extensions\\ms-vscode.powershell-2024.2.2\\logs\\20240816T183849\\EditorServices.log'",
"-SessionDetailsPath 'C:\\Users\\Esteban\\.vscode\\extensions\\ms-vscode.powershell-<version>\\sessions\\PSES-VSCode-20240816T183849-27580-Main'",
"-FeatureFlags @('PSReadLine', 'PSCommandExplorer', 'PSNativeCommandErrorActionPreference')"
],
"icon": "terminal-powershell",
"terminal.integrated.defaultProfile.windows": "PowerShell Extension",
},
},
"terminal.integrated.automationProfile.osx": { //Specifies the automation profile for the integrated terminal on Unix-based systems.
"path": "/bin/zsh",
"args": [],
"icon": "terminal-bash"
},
"azureResourceGroups.selectedSubscriptions": [],
"workbench.colorTheme": "Visual Studio Dark",
"powershell.codeFormatting.useCorrectCasing": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.debugging.createTemporaryIntegratedConsole": true,
}
⚡Business Inquiries 24/7
Connect with me in LinkedIn!
Description | |
---|---|
Type: | Code Snippet ( json ) |
Usage: | VSCode settings.json (history) for shareable & registry purposes. Mainly to be able to setup or recover certain User settings faster. |
Author: | |
Tags: |