Skip to content

Instantly share code, notes, and snippets.

@brettscott
Created September 19, 2018 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brettscott/27177d9b82168bc531c68e328c1750e1 to your computer and use it in GitHub Desktop.
Save brettscott/27177d9b82168bc531c68e328c1750e1 to your computer and use it in GitHub Desktop.
VSCODE settings.json
{
"workbench.startupEditor": "newUntitledFile",
// Controls auto save of dirty files. Accepted values: 'off', 'afterDelay', 'onFocusChange' (editor loses focus), 'onWindowChange' (window loses focus). If set to 'afterDelay', you can configure the delay in 'files.autoSaveDelay'.
"files.autoSave": "onWindowChange",
// Controls the window title based on the active editor. Variables are substituted based on the context:
// ${activeEditorShort}: the file name (e.g. myFile.txt)
// ${activeEditorMedium}: the path of the file relative to the workspace folder (e.g. myFolder/myFile.txt)
// ${activeEditorLong}: the full path of the file (e.g. /Users/Development/myProject/myFolder/myFile.txt)
// ${folderName}: name of the workspace folder the file is contained in (e.g. myFolder)
// ${folderPath}: file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)
// ${rootName}: name of the workspace (e.g. myFolder or myWorkspace)
// ${rootPath}: file path of the workspace (e.g. /Users/Development/myWorkspace)
// ${appName}: e.g. VS Code
// ${dirty}: a dirty indicator if the active editor is dirty
// ${separator}: a conditional separator (" - ") that only shows when surrounded by variables with values or static text
"window.title": "${folderName} - ${activeEditorLong}",
// Controls if opened editors show as preview. Preview editors are reused until they are kept (e.g. via double click or editing) and show up with an italic font style.
"workbench.editor.enablePreview": false,
"explorer.confirmDragAndDrop": false,
// The number of spaces a tab is equal to. This setting is overridden based on the file contents when `editor.detectIndentation` is on.
"editor.tabSize": 2,
// Controls if the minimap is shown
"editor.minimap.enabled": false,
// Controls the font size in pixels.
"editor.fontSize": 11,
// Controls the font size in pixels of the terminal.
"terminal.integrated.fontSize": 11,
// Controls the maximum amount of lines the terminal keeps in its buffer.
"terminal.integrated.scrollback": 5000,
// Controls if the search will be shown as a view in the sidebar or as a panel in the panel area for more horizontal space.
"search.location": "panel",
"workbench.colorTheme": "One Monokai",
"window.zoomLevel": 1,
// Turns auto fix on save on or off.
"eslint.autoFixOnSave": true,
// A path added to NODE_PATH when resolving the eslint module.
"eslint.nodePath": "C:/mm/_intellij_node_modules/node_modules/eslint",
// When enabled, will trim trailing whitespace when saving a file.
"files.trimTrailingWhitespace": true,
// Terminal Window
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"terminal.integrated.shellArgs.windows": ["/K", "C:\\mm\\_global\\vagrant_ssh.bat"],
// Controls the dimensions of opening a new window when at least one window is already opened. By default, a new window will open in the center of the screen with small dimensions. When set to 'inherit', the window will get the same dimensions as the last window that was active. When set to 'maximized', the window will open maximized and fullscreen if configured to 'fullscreen'. Note that this setting does not have an impact on the first window that is opened. The first window will always restore the size and location as you left it before closing.
"window.newWindowDimensions": "maximized",
// Controls if folders should open in a new window or replace the last active window.
// - default: folders will open in a new window unless a folder is picked from within the application (e.g. via the File menu)
// - on: folders will open in a new window
// - off: folders will replace the last active window
// Note that there can still be cases where this setting is ignored (e.g. when using the -new-window or -reuse-window command line option).
"window.openFoldersInNewWindow": "on",
"breadcrumbs.enabled": true,
"git.autofetch": true,
"explorer.confirmDelete": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment