Flock: 99: Input/ Output error in VSCode SSH plugin
The SSH plugin for VSCode will get lock under ~/.vscode-server by default, but on some servers mounted on NFS the flock: 99: Input/output error KBD bbb>
Solution is to acquire the lock, under/TMP In SSH plugin Settings selected LockFiles In Temp, or search remote. SSH. LockfilesInTmp can find this setting.
Reference: http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
The main command box
The most important function is the Command Panel opened by F1 or Ctrl+Shift+P. In this command box, you can execute any command of VSCode and even close the editor.
Pressing Backspace will take you to Ctrl+P mode
Type> under Ctrl+P; You can go back to Ctrl+Shift+P.
It’s fine under the Ctrl+P window
Type the file name directly and jump to the file
?List the currently executable actions! Errors or Warnings. Or Ctrl+Shift+M: skip to line number, or Ctrl+G to @: skip to Symbol (search for a variable or function), or Ctrl+Shift+O to @: skip to Symbol by category and find an attribute or function, or Ctrl+Shift+O to: enter # find Symbol by name, or Ctrl+T
Common Shortcuts
Editor and window management
Open multiple Windows at once (view multiple projects)
Open a new window: Ctrl+Shift+N Close the window: Ctrl+Shift+W
Open multiple editors at the same time (view multiple files)
Create a new file Ctrl+N Toggling Ctrl+Tab between files Cut out a new editor (up to 3) Ctrl+\, or you can hold down the Ctrl mouse and click on the file name in the Explorer Ctrl+1 Ctrl+2 Ctrl+33 editor cycle Ctrl+ ‘editor to change position, Ctrl+ K and then press Left or Right
The code editor
formatting
Lines of code indented Ctrl+[Ctrl+]
Ctrl+C Ctrl+V If unchecked, copy or cut a whole line by default
Copy one line Up or Down: Shift+Alt+Up or Shift+Alt+Down Enter one line below the current line, Ctrl+Shift+Enter
The cursor associated
Move to Start of Line: Home Move to End of Line: End Move to Start of File: Ctrl+End Move to Start of File: Ctrl+Home Move to Definition: F12 Definition Thumnail: Just Look at It and Don’t Skip Forward Alt+F12 Move to End of Bracket Ctrl+Shift+] Select From Ctrl to End of Line Shift+Home Remove all words on the right side of the cursor Ctrl+DeleteShrink/ Expand Selection: Shift+Alt+Left and Shift+Alt+ Rightmulti-cursor: Alt+Click to add Cursor or Ctrl+Alt+Down or Ctrl+Alt+Up to select all matching Ctrl+Shift+L at the same time
Ctrl+D The next match is also selected (I’ve customized it to delete the current line, see Ctrl+Shift+K below).
Back up the previous cursor operation Ctrl+U
Refactor the code
Rename: For example, if you want to change a method name, select it and press F2. Enter the new name. You will see that all the files have been changed. Right-click “Set File to Compare” in the Explorer and select “Compare with ‘file_name_you_chose’ on the file you want to compare.”
To find the replacement
Find Ctrl+F Find Ctrl+H Find Ctrl+Shift+F :
* To match one or more characters in a path segment?To match on one character in a path segment** to match any number of path segments,including none{} to group conditions (e.g. {**/*.html,**/*.txt} matches all HTML and TXT files)[] to declare a Range of characters to match (e.g., example.[0-9] to match on…
According to the relevant
Full-screen: F11Zoomin/Zoomout: Ctrl+ =/Ctrl + – Sidebar Show/Hidden: Ctrl+B Sidebar Show:
Show Explorer Ctrl+Shift+ ESHOW SearchCtrl+Shift+ FSHOW GitCtrl+Shift+ GSHOW DebugCtrl+Shift+ DSHOW OutputCtrl+Shift+U
other
Auto-save: File ->; AutoSave, or Ctrl+Shift+P, type Auto
Visual Studio Code does not prompt the definition I can not solve
Today suddenly found my vscode without prompt, not even to the definition of function, it was like a TXT text reader, then I have been to install a plug-in, even put vscode uninstall reinstall is useless, I finally in a prompt window to set the configuration file that I have a set of changes over the I C_Cpp. the picture intelliSenseEngine was transformed to Disable, lead to code doesn’t provide context awareness, Then change to Default according to the selection prompt
Solved the Golang plugin dependency installation failure issue in VS Code
Vscode installed in ms - vscode. Go after code> plugins can open support for the language, the ms - vscode. Go code> plugins need to rely on some tools, prompt after the installation is complete
Due to network problems, some dependent tools cannot be installed properly, so manual installation is required.
Here are the steps for manually installing the tool:
GOPATH
in % % \ SRC \ code> directory and establish a path \ x code> golang.org into GOPATH%\src\golang.org % \ x code>, download tools, source code git clone https://github.com/golang/tools.git tools code> after the completion of the clone, A Tools folder will be generated so that the source code for the tool is ready to execute under % goPath %
go install github.com/ramya-rao-a/go-outline
go install github.com/acroca/go-symbols
go install golang.org/x/tools/cmd/guru
go install golang.org/x/tools/cmd/gorename
go install github.com/rogpeppe/godef
go install github.com/sqs/goreturns
go install github.com/cweill/gotests/gotests
Separate processing golint golint source is located in the https://github.com/golang/lint code>, enter GOPATH%\src\golang.org % \ x code> after the execution of git clone https://github.com/golang/lint code> download golint GOPATH need source code to the % % code>, the execution of go install github.com/golang/lint/golint code> ol>
This completes the installation of the tools on which VS Code's Golang plug-in depends.
Subsequent go commands will quickly pull the required dependency code from the public proxy image;
Restart VSCode, open any go file, save, the bottom right corner will prompt install dependencies, select install all;
I need to learn C language again. After installing VS Code, I ran the C program successfully according to the configuration process on the Internet. However, when I reopened it the next day, an error was reported!
Json and launch.json were checked and found no errors. After a closer look, the problem was the path, because there was a program declaration in lanch
Json can not access the workspaceRoot. In this case, I should directly select the option to open the folder, and select the directory above the. C file and the json file.
Open Cprogram which contains.c files and contains.vscode files which need various JSON configurations
Select to reopen the Cprogram folder and the program will execute correctly
Reprinted from: https://www.cnblogs.com/mxk-star/p/7244090.html
Vscode this editor lets a person very comfortable to use, but you just start with children’s shoes on the plug-in installation may be some fear, although vscode search and provides a plug-in installed, but some of the plug-in is in need of some software or things do support package, not in vscode good can be used after download, download the plugin but no implementation support vscode frequent error really forcing obsessive-compulsive disorder.
When I want to write js code in vscode today, I was prompted:
“Failed to load jshint Library.Please install Jshint in your workspace folder using ‘NPM install jshint’ or fundamental to the using’ NPM install -g jshint’ and then press Retry”
I searched for some simple configuration and introduction of JSHint on the Internet, but the problem mentioned in the problem is that there is one thing missing, which needs to be installed with NPM instruction, so I typed NPM install Jshint on the command line, but the result was disappointed, the terminal prompt said: “NPM is not internal or external instruction”. Search NPM is a package management tool for NodeJS, use nodeJS need to download. The node download and installation method is quite simple, but I won’t discuss it here.
Once you have installed Node, you can go to your workspace and open the command line using NPM install Jshint to download the missing package.
Then you need to make a simple configuration for Jshint in your workspace: create a.jshintrc file, copy the following code into it, and you’re ready to use it.
The
shortkeys Ctrl+Shift+P open command panel
enter Settings and select:
Select the & gt; Preferences: Open Settings (JSON), User custom setting
whose file path is C:\Users\Administrator\AppData\ code \User\settings. JSON . Select the & gt; Preferences: Open Default Settings (JSON), which is the Default setting ( read only ).
use
In the user profile, you can customize some options.
as JSON format, the new can be.
my Settings. Json default is:
{
// Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.
"diffEditor.ignoreTrimWhitespace": true,
// Controls whether the diff editor shows +/- indicators for added/removed changes.
"diffEditor.renderIndicators": true,
// Controls whether the diff editor shows the diff side by side or inline.
"diffEditor.renderSideBySide": true,
// Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.
"editor.acceptSuggestionOnCommitCharacter": true,
// Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.
// - on
// - smart: Only accept a suggestion with `Enter` when it makes a textual change.
// - off
"editor.acceptSuggestionOnEnter": "on",
// Controls whether the editor should run in a mode where it is optimized for screen readers.
// - auto: The editor will use platform APIs to detect when a Screen Reader is attached.
// - on: The editor will be permanently optimized for usage with a Screen Reader.
// - off: The editor will never be optimized for usage with a Screen Reader.
"editor.accessibilitySupport": "auto",
// Controls whether the editor should automatically close brackets after the user adds an opening bracket.
// - always
// - languageDefined: Use language configurations to determine when to autoclose brackets.
// - beforeWhitespace: Autoclose brackets only when the cursor is to the left of whitespace.
// - never
"editor.autoClosingBrackets": "languageDefined",
// Controls whether the editor should automatically close quotes after the user adds an opening quote.
// - always
// - languageDefined: Use language configurations to determine when to autoclose quotes.
// - beforeWhitespace: Autoclose quotes only when the cursor is to the left of whitespace.
// - never
"editor.autoClosingQuotes": "languageDefined",
// Controls whether the editor should automatically adjust the indentation when users type, paste or move lines. Extensions with indentation rules of the language must be available.
"editor.autoIndent": true,
// Controls whether the editor should automatically surround selections.
// - languageDefined: Use language configurations to determine when to automatically surround selections.
// - brackets: Surround with brackets but not quotes.
// - quotes: Surround with quotes but not brackets.
// - never
"editor.autoSurround": "languageDefined",
// Code action kinds to be run on save.
"editor.codeActionsOnSave": {},
// Timeout in milliseconds after which the code actions that are run on save are cancelled.
"editor.codeActionsOnSaveTimeout": 750,
// Controls whether the editor shows CodeLens.
"editor.codeLens": true,
// Controls whether the editor should render the inline color decorators and color picker.
"editor.colorDecorators": true,
// Controls whether syntax highlighting should be copied into the clipboard.
"editor.copyWithSyntaxHighlighting": true,
// Control the cursor animation style.
"editor.cursorBlinking": "blink",
// Controls whether the smooth caret animation should be enabled.
"editor.cursorSmoothCaretAnimation": false,
// Controls the cursor style.
"editor.cursorStyle": "line",
// Controls the width of the cursor when `editor.cursorStyle` is set to `line`.
"editor.cursorWidth": 0,
// Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter.
// - null: None
// - vscode.configuration-editing: Provides capabilities (advanced IntelliSense, auto-fixing) in configuration files like settings, launch, and extension recommendation files.
// - vscode.css-language-features: Provides rich language support for CSS, LESS and SCSS files.
// - vscode.debug-auto-launch: Helper for auto-attach feature when node-debug extensions are not active.
// - vscode.debug-server-ready: Open URI in browser if server under debugging is ready.
// - vscode.emmet: Emmet support for VS Code
// - vscode.extension-editing: Provides linting capabilities for authoring extensions.
// - vscode.git: Git SCM Integration
// - vscode.grunt: Extension to add Grunt capabilities to VS Code.
// - vscode.gulp: Extension to add Gulp capabilities to VSCode.
// - vscode.html-language-features: Provides rich language support for HTML and Handlebar files
// - vscode.jake: Extension to add Jake capabilities to VS Code.
// - vscode.json-language-features: Provides rich language support for JSON files.
// - vscode.markdown-language-features: Provides rich language support for Markdown.
// - vscode.merge-conflict: Highlighting and commands for inline merge conflicts.
// - ms-vscode.node-debug: Node.js debugging support (versions < 8.0)
// - ms-vscode.node-debug2: Node.js debugging support
// - ms-vscode.references-view: Reference Search results as separate, stable view in the sidebar
// - vscode.npm: Extension to add task support for npm scripts.
// - vscode.php-language-features: Provides rich language support for PHP files.
// - vscode.python: Provides syntax highlighting, bracket matching and folding in Python files.
// - vscode.typescript-language-features: Provides rich language support for JavaScript and TypeScript.
// - dbaeumer.jshint: Integrates JSHint into VS Code. JSHint is a linter for JavaScript
// - redhat.java: Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more...
// - VisualStudioExptTeam.vscodeintellicode: AI-assisted development
// - vscjava.vscode-java-debug: A lightweight Java debugger for Visual Studio Code
// - vscjava.vscode-java-dependency: Manage Java Dependencies in VSCode
// - vscjava.vscode-java-pack: Popular extensions for Java development and more.
// - vscjava.vscode-java-test: Run and debug JUnit or TestNG test cases
// - vscjava.vscode-maven: Manage Maven projects, execute goals, generate project from archetype, improve user experience for Java developers.
// - yzhang.markdown-all-in-one: All you need to write Markdown (keyboard shortcuts, table of contents, auto preview and more)
// - formulahendry.code-runner: Run C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, CMD, BASH, F#, C#, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml, R, AppleScript, Elixir, VB.NET, Clojure, Haxe, Obj-C, Rust, Racket, AutoHotkey, AutoIt, Kotlin, Dart, Pascal, Haskell, Nim, D, Lisp, Kit
"editor.defaultFormatter": null,
// Controls whether `editor.tabSize#` and `#editor.insertSpaces` will be automatically detected when a file is opened based on the file contents.
"editor.detectIndentation": true,
// Controls whether the editor should allow moving selections via drag and drop.
"editor.dragAndDrop": true,
// Controls whether copying without a selection copies the current line.
"editor.emptySelectionClipboard": true,
// Scrolling speed mulitiplier when pressing `Alt`.
"editor.fastScrollSensitivity": 5,
// Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.
"editor.find.addExtraSpaceOnTop": true,
// Controls whether the find operation is carried out on selected text or the entire file in the editor.
"editor.find.autoFindInSelection": false,
// Controls whether the search string in the Find Widget is seeded from the editor selection.
"editor.find.seedSearchStringFromSelection": true,
// Controls whether the editor has code folding enabled.
"editor.folding": true,
// Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.
"editor.foldingStrategy": "auto",
// Controls the font family.
"editor.fontFamily": "Consolas, 'Courier New', monospace",
// Enables/Disables font ligatures.
"editor.fontLigatures": false,
// Controls the font size in pixels.
"editor.fontSize": 14,
// Controls the font weight.
"editor.fontWeight": "normal",
// Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.
"editor.formatOnPaste": false,
// Format a file on save. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down.
"editor.formatOnSave": false,
// Timeout in milliseconds after which the formatting that is run on file save is cancelled.
"editor.formatOnSaveTimeout": 750,
// Controls whether the editor should automatically format the line after typing.
"editor.formatOnType": false,
// Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.
"editor.glyphMargin": true,
// Controls the behavior of 'Go To' commands, like Go To Definition, when multiple target locations exist.
// - peek: Show peek view of the results (default)
// - gotoAndPeek: Go to the primary result and show a peek view
// - goto: Go to the primary result and ignore others
"editor.gotoLocation.multiple": "peek",
// Controls whether the cursor should be hidden in the overview ruler.
"editor.hideCursorInOverviewRuler": false,
// Controls whether the editor should highlight the active indent guide.
"editor.highlightActiveIndentGuide": true,
// Controls the delay in milliseconds after which the hover is shown.
"editor.hover.delay": 300,
// Controls whether the hover is shown.
"editor.hover.enabled": true,
// Controls whether the hover should remain visible when mouse is moved over it.
"editor.hover.sticky": true,
// Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `editor.detectIndentation` is on.
"editor.insertSpaces": true,
// Special handling for large files to disable certain memory intensive features.
"editor.largeFileOptimizations": true,
// Controls the letter spacing in pixels.
"editor.letterSpacing": 0,
// Enables the code action lightbulb in the editor.
"editor.lightbulb.enabled": true,
// Controls the line height. Use 0 to compute the line height from the font size.
"editor.lineHeight": 0,
// Controls the display of line numbers.
// - off: Line numbers are not rendered.
// - on: Line numbers are rendered as absolute number.
// - relative: Line numbers are rendered as distance in lines to cursor position.
// - interval: Line numbers are rendered every 10 lines.
"editor.lineNumbers": "on",
// Controls whether the editor should detect links and make them clickable.
"editor.links": true,
// Highlight matching brackets when one of them is selected.
"editor.matchBrackets": true,
// Lines above this length will not be tokenized for performance reasons
"editor.maxTokenizationLineLength": 20000,
// Controls whether the minimap is shown.
"editor.minimap.enabled": true,
// Limit the width of the minimap to render at most a certain number of columns.
"editor.minimap.maxColumn": 120,
// Render the actual characters on a line as opposed to color blocks.
"editor.minimap.renderCharacters": true,
// Controls whether the minimap slider is automatically hidden.
"editor.minimap.showSlider": "mouseover",
// Controls the side where to render the minimap.
"editor.minimap.side": "right",
// A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.
"editor.mouseWheelScrollSensitivity": 1,
// Zoom the font of the editor when using mouse wheel and holding `Ctrl`.
"editor.mouseWheelZoom": false,
// Merge multiple cursors when they are overlapping.
"editor.multiCursorMergeOverlapping": true,
// The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).
// - ctrlCmd: Maps to `Control` on Windows and Linux and to `Command` on macOS.
// - alt: Maps to `Alt` on Windows and Linux and to `Option` on macOS.
"editor.multiCursorModifier": "alt",
// Controls whether the editor should highlight semantic symbol occurrences.
"editor.occurrencesHighlight": true,
// Controls whether a border should be drawn around the overview ruler.
"editor.overviewRulerBorder": true,
// Controls the number of decorations that can show up at the same position in the overview ruler.
"editor.overviewRulerLanes": 3,
// Controls whether the parameter hints menu cycles or closes when reaching the end of the list.
"editor.parameterHints.cycle": false,
// Enables a pop-up that shows parameter documentation and type information as you type.
"editor.parameterHints.enabled": true,
// Controls whether suggestions should automatically show up while typing.
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
// Controls the delay in milliseconds after which quick suggestions will show up.
"editor.quickSuggestionsDelay": 10,
// Controls whether the editor should render control characters.
"editor.renderControlCharacters": false,
// Render last line number when the file ends with a newline.
"editor.renderFinalNewline": true,
// Controls whether the editor should render indent guides.
"editor.renderIndentGuides": true,
// Controls how the editor should render the current line highlight.
// - none
// - gutter
// - line
// - all: Highlights both the gutter and the current line.
"editor.renderLineHighlight": "line",
// Controls how the editor should render whitespace characters.
// - none
// - boundary: Render whitespace characters except for single spaces between words.
// - all
"editor.renderWhitespace": "none",
// Controls whether selections should have rounded corners.
"editor.roundedSelection": true,
// Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.
"editor.rulers": [],
// Controls the number of extra characters beyond which the editor will scroll horizontally.
"editor.scrollBeyondLastColumn": 5,
// Controls whether the editor will scroll beyond the last line.
"editor.scrollBeyondLastLine": true,
// Controls whether the editor should highlight matches similar to the selection.
"editor.selectionHighlight": true,
// Controls whether the fold controls on the gutter are automatically hidden.
"editor.showFoldingControls": "mouseover",
// Controls fading out of unused code.
"editor.showUnused": true,
// Controls whether the editor will scroll using an animation.
"editor.smoothScrolling": false,
// Controls whether snippets are shown with other suggestions and how they are sorted.
// - top: Show snippet suggestions on top of other suggestions.
// - bottom: Show snippet suggestions below other suggestions.
// - inline: Show snippets suggestions with other suggestions.
// - none: Do not show snippet suggestions.
"editor.snippetSuggestions": "inline",
// Keep peek editors open even when double clicking their content or when hitting `Escape`.
"editor.stablePeek": false,
// Controls whether some suggestion types should be filtered from IntelliSense. A list of suggestion types can be found here: https://code.visualstudio.com/docs/editor/intellisense#_types-of-completions.
"editor.suggest.filteredTypes": {
"keyword": true
},
// Controls whether filtering and sorting suggestions accounts for small typos.
"editor.suggest.filterGraceful": true,
// Controls whether sorting favours words that appear close to the cursor.
"editor.suggest.localityBonus": false,
// Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).
"editor.suggest.maxVisibleSuggestions": 12,
// Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `editor.suggestSelection`).
"editor.suggest.shareSuggestSelections": false,
// Controls whether to show or hide icons in suggestions.
"editor.suggest.showIcons": true,
// Control whether an active snippet prevents quick suggestions.
"editor.suggest.snippetsPreventQuickSuggestions": true,
// Font size for the suggest widget. When set to `0`, the value of `editor.fontSize` is used.
"editor.suggestFontSize": 0,
// Line height for the suggest widget. When set to `0`, the value of `editor.lineHeight` is used.
"editor.suggestLineHeight": 0,
// Controls whether suggestions should automatically show up when typing trigger characters.
"editor.suggestOnTriggerCharacters": true,
// Controls how suggestions are pre-selected when showing the suggest list.
// - first: Always select the first suggestion.
// - recentlyUsed: Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently.
// - recentlyUsedByPrefix: Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.
"editor.suggestSelection": "recentlyUsed",
// Enables tab completions.
// - on: Tab complete will insert the best matching suggestion when pressing tab.
// - off: Disable tab completions.
// - onlySnippets: Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.
"editor.tabCompletion": "off",
// 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": 4,
// Overrides editor colors and font style from the currently selected color theme.
"editor.tokenColorCustomizations": {},
// Remove trailing auto inserted whitespace.
"editor.trimAutoWhitespace": true,
// Inserting and deleting whitespace follows tab stops.
"editor.useTabStops": true,
// Controls whether completions should be computed based on words in the document.
"editor.wordBasedSuggestions": true,
// Characters that will be used as word separators when doing word related navigations or operations.
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",
// Controls how lines should wrap.
// - off: Lines will never wrap.
// - on: Lines will wrap at the viewport width.
// - wordWrapColumn: Lines will wrap at `editor.wordWrapColumn`.
// - bounded: Lines will wrap at the minimum of viewport and `editor.wordWrapColumn`.
"editor.wordWrap": "off",
// Controls the wrapping column of the editor when `editor.wordWrap` is `wordWrapColumn` or `bounded`.
"editor.wordWrapColumn": 80,
// Controls the indentation of wrapped lines.
// - none: No indentation. Wrapped lines begin at column 1.
// - same: Wrapped lines get the same indentation as the parent.
// - indent: Wrapped lines get +1 indentation toward the parent.
// - deepIndent: Wrapped lines get +2 indentation toward the parent.
"editor.wrappingIndent": "same",
// Controls whether inline actions are always visible in the Source Control view.
"scm.alwaysShowActions": false,
// Controls whether to always show the Source Control Provider section.
"scm.alwaysShowProviders": false,
// Controls diff decorations in the editor.
"scm.diffDecorations": "all",
// Controls the width(px) of diff decorations in gutter (added & modified).
"scm.diffDecorationsGutterWidth": 3,
// Controls how many providers are visible in the Source Control Provider section. Set to `0` to be able to manually resize the view.
"scm.providers.visible": 10,
// Controls the visibility of the activity bar in the workbench.
"workbench.activityBar.visible": true,
// Overrides colors from the currently selected color theme.
"workbench.colorCustomizations": {},
// Specifies the color theme used in the workbench.
"workbench.colorTheme": "Default Dark+",
// Controls the number of recently used commands to keep in history for the command palette. Set to 0 to disable command history.
"workbench.commandPalette.history": 50,
// Controls whether the last typed input to the command palette should be restored when opening it the next time.
"workbench.commandPalette.preserveInput": false,
// Controls if the centered layout should automatically resize to maximum width when more than one group is open. Once only one group is open it will resize back to the original centered width.
"workbench.editor.centeredLayoutAutoResize": true,
// Controls the behavior of empty editor groups when the last tab in the group is closed. When enabled, empty groups will automatically close. When disabled, empty groups will remain part of the grid.
"workbench.editor.closeEmptyGroups": true,
// Controls whether editors showing a file that was opened during the session should close automatically when getting deleted or renamed by some other process. Disabling this will keep the editor open on such an event. Note that deleting from within the application will always close the editor and that dirty files will never close to preserve your data.
"workbench.editor.closeOnFileDelete": false,
// Controls whether opened editors show as preview. Preview editors are reused until they are pinned (e.g. via double click or editing) and show up with an italic font style.
"workbench.editor.enablePreview": true,
// Controls whether opened editors from Quick Open show as preview. Preview editors are reused until they are pinned (e.g. via double click or editing).
"workbench.editor.enablePreviewFromQuickOpen": true,
// Controls whether tabs are closed in most recently used order or from left to right.
"workbench.editor.focusRecentEditorAfterClose": true,
// Controls whether a top border is drawn on modified (dirty) editor tabs or not.
"workbench.editor.highlightModifiedTabs": false,
// Controls the format of the label for an editor.
// - default: Show the name of the file. When tabs are enabled and two files have the same name in one group the distinguishing sections of each file's path are added. When tabs are disabled, the path relative to the workspace folder is shown if the editor is active.
// - short: Show the name of the file followed by its directory name.
// - medium: Show the name of the file followed by its path relative to the workspace folder.
// - long: Show the name of the file followed by its absolute path.
"workbench.editor.labelFormat": "default",
// Controls where editors open. Select `left` or `right` to open editors to the left or right of the currently active one. Select `first` or `last` to open editors independently from the currently active one.
"workbench.editor.openPositioning": "right",
// Controls the default direction of editors that are opened side by side (e.g. from the explorer). By default, editors will open on the right hand side of the currently active one. If changed to `down`, the editors will open below the currently active one.
"workbench.editor.openSideBySideDirection": "right",
// Restores the last view state (e.g. scroll position) when re-opening files after they have been closed.
"workbench.editor.restoreViewState": true,
// Controls whether an editor is revealed in any of the visible groups if opened. If disabled, an editor will prefer to open in the currently active editor group. If enabled, an already opened editor will be revealed instead of opened again in the currently active editor group. Note that there are some cases where this setting is ignored, e.g. when forcing an editor to open in a specific group or to the side of the currently active group.
"workbench.editor.revealIfOpen": false,
// Controls whether opened editors should show with an icon or not. This requires an icon theme to be enabled as well.
"workbench.editor.showIcons": true,
// Controls whether opened editors should show in tabs or not.
"workbench.editor.showTabs": true,
// Controls the position of the editor's tabs close buttons, or disables them when set to 'off'.
"workbench.editor.tabCloseButton": "right",
// Controls the sizing of editor tabs.
// - fit: Always keep tabs large enough to show the full editor label.
// - shrink: Allow tabs to get smaller when the available space is not enough to show all tabs at once.
"workbench.editor.tabSizing": "fit",
// Fetches experiments to run from a Microsoft online service.
"workbench.enableExperiments": true,
// Specifies the icon theme used in the workbench or 'null' to not show any file icons.
// - null: No file icons
// - vs-minimal
// - vs-seti
"workbench.iconTheme": "vs-seti",
// Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.
"workbench.list.automaticKeyboardNavigation": true,
// Controls whether lists and trees support horizontal scrolling in the workbench.
"workbench.list.horizontalScrolling": false,
// Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.
// - simple: Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes.
// - highlight: Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements.
// - filter: Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.
"workbench.list.keyboardNavigation": "highlight",
// The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.
// - ctrlCmd: Maps to `Control` on Windows and Linux and to `Command` on macOS.
// - alt: Maps to `Alt` on Windows and Linux and to `Option` on macOS.
"workbench.list.multiSelectModifier": "ctrlCmd",
// Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable.
"workbench.list.openMode": "singleClick",
// Controls the default location of the panel (terminal, debug console, output, problems). It can either show at the bottom or on the right of the workbench.
"workbench.panel.defaultLocation": "bottom",
// Controls whether Quick Open should close automatically once it loses focus.
"workbench.quickOpen.closeOnFocusLost": true,
// Controls whether the last typed input to Quick Open should be restored when opening it the next time.
"workbench.quickOpen.preserveInput": false,
// Determines which settings editor to use by default.
// - ui: Use the settings UI editor.
// - json: Use the JSON file editor.
"workbench.settings.editor": "ui",
// Controls whether to enable the natural language search mode for settings. The natural language search is provided by a Microsoft online service.
"workbench.settings.enableNaturalLanguageSearch": true,
// Controls whether opening keybinding settings also opens an editor showing all default keybindings.
"workbench.settings.openDefaultKeybindings": false,
// Controls whether opening settings also opens an editor showing all default settings.
"workbench.settings.openDefaultSettings": false,
// Controls the behavior of the settings editor Table of Contents while searching.
// - hide: Hide the Table of Contents while searching.
// - filter: Filter the Table of Contents to just categories that have matching settings. Clicking a category will filter the results to that category.
"workbench.settings.settingsSearchTocBehavior": "filter",
// Controls whether to use the split JSON editor when editing settings as JSON.
"workbench.settings.useSplitJSON": false,
// Controls the location of the sidebar. It can either show on the left or right of the workbench.
"workbench.sideBar.location": "left",
// Controls which editor is shown at startup, if none are restored from the previous session.
// - none: Start without an editor.
// - welcomePage: Open the Welcome page (default).
// - readme: Open the README when opening a folder that contains one, fallback to 'welcomePage' otherwise.
// - newUntitledFile: Open a new untitled file (only applies when opening an empty workspace).
// - welcomePageInEmptyWorkbench: Open the Welcome page when opening an empty workbench.
"workbench.startupEditor": "welcomePage",
// Controls the visibility of the Twitter feedback (smiley) in the status bar at the bottom of the workbench.
"workbench.statusBar.feedback.visible": true,
// Controls the visibility of the status bar at the bottom of the workbench.
"workbench.statusBar.visible": true,
// When enabled, will show the watermark tips when no editor is open.
"workbench.tips.enabled": true,
// This setting is deprecated, please use 'workbench.list.horizontalScrolling' instead.
// Controls whether trees support horizontal scrolling in the workbench.
"workbench.tree.horizontalScrolling": false,
// Controls tree indentation in pixels.
"workbench.tree.indent": 8,
// Enables the grid layout for the workbench. This setting may enable additional layout options for workbench components.
"workbench.useExperimentalGridLayout": false,
// Controls the visibility of view header actions. View header actions may either be always visible, or only visible when that view is focused or hovered over.
"workbench.view.alwaysShowHeaderActions": false,
// If enabled, will automatically change to high contrast theme if Windows is using a high contrast theme, and to dark theme when switching away from a Windows high contrast theme.
"window.autoDetectHighContrast": true,
// Controls whether closing the last editor should also close the window. This setting only applies for windows that do not show folders.
"window.closeWhenEmpty": false,
// If enabled, double clicking the application icon in the title bar will close the window and the window cannot be dragged by the icon. This setting only has an effect when `window.titleBarStyle` is set to `custom`.
"window.doubleClickIconToClose": false,
// If enabled, the main menus can be opened via Alt-key shortcuts. Disabling mnemonics allows to bind these Alt-key shortcuts to editor commands instead.
"window.enableMenuBarMnemonics": true,
// Control the visibility of the menu bar. A setting of 'toggle' means that the menu bar is hidden and a single press of the Alt key will show it. By default, the menu bar will be visible, unless the window is full screen.
// - default: Menu is only hidden in full screen mode.
// - visible: Menu is always visible even in full screen mode.
// - toggle: Menu is hidden but can be displayed via Alt key.
// - hidden: Menu is always hidden.
"window.menuBarVisibility": "default",
// Controls the dimensions of opening a new window when at least one window is already opened. 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.
// - default: Open new windows in the center of the screen.
// - inherit: Open new windows with same dimension as last active one.
// - maximized: Open new windows maximized.
// - fullscreen: Open new windows in full screen mode.
"window.newWindowDimensions": "default",
// Controls whether files should open in a new 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).
// - on: Files will open in a new window.
// - off: Files will open in the window with the files' folder open or the last active window.
// - default: Files will open in a new window unless picked from within the application (e.g. via the File menu).
"window.openFilesInNewWindow": "off",
// Controls whether folders should open in a new window or 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).
// - on: Folders will open in a new window.
// - off: Folders will 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).
"window.openFoldersInNewWindow": "default",
// Controls whether a new empty window should open when starting a second instance without arguments or if the last running instance should get focus.
// 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).
// - on: Open a new empty window.
// - off: Focus the last active running instance.
"window.openWithoutArgumentsInNewWindow": "on",
// Controls whether a window should restore to full screen mode if it was exited in full screen mode.
"window.restoreFullscreen": false,
// Controls how windows are being reopened after a restart.
// - all: Reopen all windows.
// - folders: Reopen all folders. Empty workspaces will not be restored.
// - one: Reopen the last active window.
// - none: Never reopen a window. Always start with an empty one.
"window.restoreWindows": "one",
// 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/myFileFolder/myFile.txt).
// - `${activeEditorLong}`: the full path of the file (e.g. /Users/Development/myFolder/myFileFolder/myFile.txt).
// - `${activeFolderShort}`: the name of the folder the file is contained in (e.g. myFileFolder).
// - `${activeFolderMedium}`: the path of the folder the file is contained in, relative to the workspace folder (e.g. myFolder/myFileFolder).
// - `${activeFolderLong}`: the full path of the folder the file is contained in (e.g. /Users/Development/myFolder/myFileFolder).
// - `${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": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}",
// Adjust the appearance of the window title bar. On Linux and Windows, this setting also affects the application and context menu appearances. Changes require a full restart to apply.
"window.titleBarStyle": "custom",
// Adjust the zoom level of the window. The original size is 0 and each increment above (e.g. 1) or below (e.g. -1) represents zooming 20% larger or smaller. You can also enter decimals to adjust the zoom level with a finer granularity.
"window.zoomLevel": 0,
// Configure file associations to languages (e.g. `"*.extension": "html"`). These have precedence over the default associations of the languages installed.
"files.associations": {},
// When enabled, the editor will attempt to guess the character set encoding when opening files. This setting can also be configured per language.
"files.autoGuessEncoding": false,
// Controls auto save of dirty files. Read more about autosave [here](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save).
// - off: A dirty file is never automatically saved.
// - afterDelay: A dirty file is automatically saved after the configured `files.autoSaveDelay`.
// - onFocusChange: A dirty file is automatically saved when the editor loses focus.
// - onWindowChange: A dirty file is automatically saved when the window loses focus.
"files.autoSave": "off",
// Controls the delay in ms after which a dirty file is saved automatically. Only applies when `files.autoSave` is set to `afterDelay`.
"files.autoSaveDelay": 1000,
// The default language mode that is assigned to new files.
"files.defaultLanguage": "",
// Moves files/folders to the OS trash (recycle bin on Windows) when deleting. Disabling this will delete files/folders permanently.
"files.enableTrash": true,
// The default character set encoding to use when reading and writing files. This setting can also be configured per language.
// - utf8: UTF-8
// - utf8bom: UTF-8 with BOM
// - utf16le: UTF-16 LE
// - utf16be: UTF-16 BE
// - windows1252: Western (Windows 1252)
// - iso88591: Western (ISO 8859-1)
// - iso88593: Western (ISO 8859-3)
// - iso885915: Western (ISO 8859-15)
// - macroman: Western (Mac Roman)
// - cp437: DOS (CP 437)
// - windows1256: Arabic (Windows 1256)
// - iso88596: Arabic (ISO 8859-6)
// - windows1257: Baltic (Windows 1257)
// - iso88594: Baltic (ISO 8859-4)
// - iso885914: Celtic (ISO 8859-14)
// - windows1250: Central European (Windows 1250)
// - iso88592: Central European (ISO 8859-2)
// - cp852: Central European (CP 852)
// - windows1251: Cyrillic (Windows 1251)
// - cp866: Cyrillic (CP 866)
// - iso88595: Cyrillic (ISO 8859-5)
// - koi8r: Cyrillic (KOI8-R)
// - koi8u: Cyrillic (KOI8-U)
// - iso885913: Estonian (ISO 8859-13)
// - windows1253: Greek (Windows 1253)
// - iso88597: Greek (ISO 8859-7)
// - windows1255: Hebrew (Windows 1255)
// - iso88598: Hebrew (ISO 8859-8)
// - iso885910: Nordic (ISO 8859-10)
// - iso885916: Romanian (ISO 8859-16)
// - windows1254: Turkish (Windows 1254)
// - iso88599: Turkish (ISO 8859-9)
// - windows1258: Vietnamese (Windows 1258)
// - gbk: Simplified Chinese (GBK)
// - gb18030: Simplified Chinese (GB18030)
// - cp950: Traditional Chinese (Big5)
// - big5hkscs: Traditional Chinese (Big5-HKSCS)
// - shiftjis: Japanese (Shift JIS)
// - eucjp: Japanese (EUC-JP)
// - euckr: Korean (EUC-KR)
// - windows874: Thai (Windows 874)
// - iso885911: Latin/Thai (ISO 8859-11)
// - koi8ru: Cyrillic (KOI8-RU)
// - koi8t: Tajik (KOI8-T)
// - gb2312: Simplified Chinese (GB 2312)
// - cp865: Nordic DOS (CP 865)
// - cp850: Western European DOS (CP 850)
"files.encoding": "utf8",
// The default end of line character.
// - \n: LF
// - \r\n: CRLF
// - auto: Uses operating system specific end of line character.
"files.eol": "auto",
// Configure glob patterns for excluding files and folders. For example, the files explorer decides which files and folders to show or hide based on this setting. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
// Controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.
// - off: Disable hot exit.
// - onExit: Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu). All windows with backups will be restored upon next launch.
// - onExitAndWindowClose: Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu), and also for any window with a folder opened regardless of whether it's the last window. All windows without folders opened will be restored upon next launch. To restore folder windows as they were before shutdown set `window.restoreWindows` to `all`.
"files.hotExit": "onExit",
// When enabled, insert a final new line at the end of the file when saving it.
"files.insertFinalNewline": false,
// Controls the memory available to VS Code after restart when trying to open large files. Same effect as specifying `--max-memory=NEWSIZE` on the command line.
"files.maxMemoryForLargeFilesMB": 4096,
// When enabled, will trim all new lines after the final new line at the end of the file when saving it.
"files.trimFinalNewlines": false,
// When enabled, will trim trailing whitespace when saving a file.
"files.trimTrailingWhitespace": false,
// Use the new experimental file watcher.
"files.useExperimentalFileWatcher": false,
// Configure glob patterns of file paths to exclude from file watching. Patterns must match on absolute paths (i.e. prefix with ** or the full path to match properly). Changing this setting requires a restart. When you experience Code consuming lots of cpu time on startup, you can exclude large folders to reduce the initial load.
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
// Controls whether turning on Zen Mode also centers the layout.
"zenMode.centerLayout": true,
// Controls whether turning on Zen Mode also puts the workbench into full screen mode.
"zenMode.fullScreen": true,
// Controls whether turning on Zen Mode also hides the activity bar at the left of the workbench.
"zenMode.hideActivityBar": true,
// Controls whether turning on Zen Mode also hides the editor line numbers.
"zenMode.hideLineNumbers": true,
// Controls whether turning on Zen Mode also hides the status bar at the bottom of the workbench.
"zenMode.hideStatusBar": true,
// Controls whether turning on Zen Mode also hides workbench tabs.
"zenMode.hideTabs": true,
// Controls whether a window should restore to zen mode if it was exited in zen mode.
"zenMode.restore": false,
// Controls whether the explorer should automatically reveal and select files when opening them.
"explorer.autoReveal": true,
// Controls whether the explorer should ask for confirmation when deleting a file via the trash.
"explorer.confirmDelete": true,
// Controls whether the explorer should ask for confirmation to move files and folders via drag and drop.
"explorer.confirmDragAndDrop": true,
// Controls whether file decorations should use badges.
"explorer.decorations.badges": true,
// Controls whether file decorations should use colors.
"explorer.decorations.colors": true,
// Controls whether the explorer should allow to move files and folders via drag and drop.
"explorer.enableDragAndDrop": true,
// Number of editors shown in the Open Editors pane.
"explorer.openEditors.visible": 9,
// Controls sorting order of files and folders in the explorer.
// - default: Files and folders are sorted by their names, in alphabetical order. Folders are displayed before files.
// - mixed: Files and folders are sorted by their names, in alphabetical order. Files are interwoven with folders.
// - filesFirst: Files and folders are sorted by their names, in alphabetical order. Files are displayed before folders.
// - type: Files and folders are sorted by their extensions, in alphabetical order. Folders are displayed before files.
// - modified: Files and folders are sorted by last modified date, in descending order. Folders are displayed before files.
"explorer.sortOrder": "default",
// Controls the positioning of the actionbar on rows in the search view.
// - auto: Position the actionbar to the right when the search view is narrow, and immediately after the content when the search view is wide.
// - right: Always position the actionbar to the right.
"search.actionsPosition": "auto",
// Controls whether the search results will be collapsed or expanded.
// - auto: Files with less than 10 results are expanded. Others are collapsed.
// - alwaysCollapse
// - alwaysExpand
"search.collapseResults": "auto",
// Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the `files.exclude` setting. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true
},
// Controls whether to follow symlinks while searching.
"search.followSymlinks": true,
// Controls whether 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": "sidebar",
// When enabled, the searchService process will be kept alive instead of being shut down after an hour of inactivity. This will keep the file search cache in memory.
"search.maintainFileSearchCache": false,
// Whether to include results from recently opened files in the file results for Quick Open.
"search.quickOpen.includeHistory": true,
// Whether to include results from a global symbol search in the file results for Quick Open.
"search.quickOpen.includeSymbols": false,
// Whether to run search in the extension host. Requires a restart to take effect.
"search.runInExtensionHost": false,
// Controls whether to show line numbers for search results.
"search.showLineNumbers": false,
// Search case-insensitively if the pattern is all lowercase, otherwise, search case-sensitively.
"search.smartCase": false,
// Controls whether to use global `.gitignore` and `.ignore` files when searching for files.
"search.useGlobalIgnoreFiles": false,
// Controls whether to use `.gitignore` and `.ignore` files when searching for files.
"search.useIgnoreFiles": true,
// Whether to use the PCRE2 regex engine in text search. This enables using some advanced regex features like lookahead and backreferences. However, not all PCRE2 features are supported - only features that are also supported by JavaScript.
"search.usePCRE2": false,
// Controls whether to open Replace Preview when selecting or replacing a match.
"search.useReplacePreview": true,
// Deprecated. Consider "search.usePCRE2" for advanced regex feature support.
// This setting is deprecated and now falls back on "search.usePCRE2".
"search.useRipgrep": true,
// Deprecated. Use "search.runInExtensionHost" instead
// Whether to run search in the extension host
"searchRipgrep.enable": false,
// The proxy setting to use. If not set will be taken from the http_proxy and https_proxy environment variables.
"http.proxy": "",
// The value to send as the 'Proxy-Authorization' header for every network request.
"http.proxyAuthorization": null,
// Controls whether the proxy server certificate should be verified against the list of supplied CAs.
"http.proxyStrictSSL": true,
// Use the proxy support for extensions.
// - off: Disable proxy support for extensions.
// - on: Enable proxy support for extensions.
// - override: Enable proxy support for extensions, override request options.
"http.proxySupport": "override",
// Controls whether CA certificates should be loaded from the OS. (On Windows and macOS a reload of the window is required after turning this off.)
"http.systemCertificates": true,
// This setting is deprecated, please use 'update.mode' instead.
// Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service.
"update.channel": "default",
// Enables Windows background updates. The updates are fetched from a Microsoft online service.
"update.enableWindowsBackgroundUpdates": true,
// Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service.
// - none: Disable updates.
// - manual: Disable automatic background update checks. Updates will be available if you manually check for updates.
// - default: Enable automatic update checks. Code will check for updates automatically and periodically.
"update.mode": "default",
// Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service.
"update.showReleaseNotes": true,
// Controls when the comments panel should open.
"comments.openPanel": "openOnSessionStartWithComments",
// Allow setting breakpoints in any file.
"debug.allowBreakpointsEverywhere": false,
// Controls the font family in the debug console.
"debug.console.fontFamily": "default",
// Controls the font size in pixels in the debug console.
"debug.console.fontSize": 14,
// Controls the line height in pixels in the debug console. Use 0 to compute the line height from the font size.
"debug.console.lineHeight": 0,
// Controls whether the non-debug hovers should be enabled while debugging. When enabled the hover providers will be called to provide a hover. Regular hovers will not be shown even if this setting is enabled.
"debug.enableAllHovers": false,
// Show variable values inline in editor while debugging.
"debug.inlineValues": false,
// Controls when the internal debug console should open.
"debug.internalConsoleOptions": "openOnFirstSessionStart",
// Controls when the debug view should open.
"debug.openDebug": "openOnSessionStart",
// Automatically open the explorer view at the end of a debug session.
"debug.openExplorerOnEnd": false,
// Controls when the debug status bar should be visible.
// - never: Never show debug in status bar
// - always: Always show debug in status bar
// - onFirstSessionStart: Show debug in status bar only after debug was started for the first time
"debug.showInStatusBar": "onFirstSessionStart",
// Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, or `hidden`.
"debug.toolBarLocation": "floating",
// Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces.
"launch": {
"configurations": [],
"compounds": []
},
// Enable/disable autoclosing of HTML tags.
"html.autoClosingTags": true,
// A list of JSON file paths that define custom tags, properties and other HTML syntax constructs. Only workspace folder setting will be read.
"html.experimental.customData": [],
// List of tags, comma separated, where the content shouldn't be reformatted. `null` defaults to the `pre` tag.
"html.format.contentUnformatted": "pre,code,textarea",
// Enable/disable default HTML formatter.
"html.format.enable": true,
// End with a newline.
"html.format.endWithNewline": false,
// List of tags, comma separated, that should have an extra newline before them. `null` defaults to `"head, body, /html"`.
"html.format.extraLiners": "head, body, /html",
// Format and indent `{{#foo}}` and `{{/foo}}`.
"html.format.indentHandlebars": false,
// Indent `<head>` and `<body>` sections.
"html.format.indentInnerHtml": false,
// Maximum number of line breaks to be preserved in one chunk. Use `null` for unlimited.
"html.format.maxPreserveNewLines": null,
// Controls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.
"html.format.preserveNewLines": true,
// List of tags, comma separated, that shouldn't be reformatted. `null` defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.
"html.format.unformatted": "wbr",
// Wrap attributes.
// - auto: Wrap attributes only when line length is exceeded.
// - force: Wrap each attribute except first.
// - force-aligned: Wrap each attribute except first and keep aligned.
// - force-expand-multiline: Wrap each attribute.
// - aligned-multiple: Wrap when line length is exceeded, align attributes vertically.
// - preserve: Preserve wrapping of attributes
// - preserve-aligned: Preserve wrapping of attributes but align.
"html.format.wrapAttributes": "auto",
// Maximum amount of characters per line (0 = disable).
"html.format.wrapLineLength": 120,
// Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.
"html.suggest.html5": true,
// Traces the communication between VS Code and the HTML language server.
"html.trace.server": "off",
// Controls whether the built-in HTML language support validates embedded scripts.
"html.validate.scripts": true,
// Controls whether the built-in HTML language support validates embedded styles.
"html.validate.styles": true,
// The setting `json.colorDecorators.enable` has been deprecated in favor of `editor.colorDecorators`.
// Enables or disables color decorators
"json.colorDecorators.enable": true,
// Enable/disable default JSON formatter
"json.format.enable": true,
// Associate schemas to JSON files in the current project
"json.schemas": [],
// Traces the communication between VS Code and the JSON language server.
"json.trace.server": "off",
// Sets how line-breaks are rendered in the markdown preview. Setting it to 'true' creates a <br> for every newline.
"markdown.preview.breaks": false,
// Double click in the markdown preview to switch to the editor.
"markdown.preview.doubleClickToSwitchToEditor": true,
// Controls the font family used in the markdown preview.
"markdown.preview.fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', 'Ubuntu', 'Droid Sans', sans-serif",
// Controls the font size in pixels used in the markdown preview.
"markdown.preview.fontSize": 14,
// Controls the line height used in the markdown preview. This number is relative to the font size.
"markdown.preview.lineHeight": 1.6,
// Enable or disable conversion of URL-like text to links in the markdown preview.
"markdown.preview.linkify": true,
// Mark the current editor selection in the markdown preview.
"markdown.preview.markEditorSelection": true,
// How should clicking on links to markdown files be handled in the preview.
// - inPreview: Try to open links in the markdown preview
// - inEditor: Try to open links in the editor
"markdown.preview.openMarkdownLinks": "inPreview",
// When a markdown preview is scrolled, update the view of the editor.
"markdown.preview.scrollEditorWithPreview": true,
// When a markdown editor is scrolled, update the view of the preview.
"markdown.preview.scrollPreviewWithEditor": true,
// This setting has been replaced by 'markdown.preview.scrollPreviewWithEditor' and no longer has any effect.
// [Deprecated] Scrolls the markdown preview to reveal the currently selected line from the editor.
"markdown.preview.scrollPreviewWithEditorSelection": true,
// A list of URLs or local paths to CSS style sheets to use from the markdown preview. Relative paths are interpreted relative to the folder open in the explorer. If there is no open folder, they are interpreted relative to the location of the markdown file. All '\' need to be written as '\\'.
"markdown.styles": [],
// Enable debug logging for the markdown extension.
"markdown.trace": "off",
// Controls whether the built-in PHP language suggestions are enabled. The support suggests PHP globals and variables.
"php.suggest.basic": true,
// Enable/disable built-in PHP validation.
"php.validate.enable": true,
// Points to the PHP executable.
"php.validate.executablePath": null,
// Whether the linter is run on save or on type.
"php.validate.run": "onSave",
// Enable/disable automatic closing of JSX tags. Requires using TypeScript 3.0 or newer in the workspace.
"javascript.autoClosingTags": true,
// Enable/disable default JavaScript formatter.
"javascript.format.enable": true,
// Defines space handling after a comma delimiter.
"javascript.format.insertSpaceAfterCommaDelimiter": true,
// Defines space handling after the constructor keyword. Requires using TypeScript 2.3.0 or newer in the workspace.
"javascript.format.insertSpaceAfterConstructor": false,
// Defines space handling after function keyword for anonymous functions.
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
// Defines space handling after keywords in a control flow statement.
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
// Defines space handling after opening and before closing JSX expression braces.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
// Defines space handling after opening and before closing non-empty braces. Requires using TypeScript 2.3.0 or newer in the workspace.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
// Defines space handling after opening and before closing non-empty brackets.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
// Defines space handling after opening and before closing non-empty parenthesis.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
// Defines space handling after opening and before closing template string braces.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
// Defines space handling after a semicolon in a for statement.
"javascript.format.insertSpaceAfterSemicolonInForStatements": true,
// Defines space handling after a binary operator.
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
// Defines space handling before function argument parentheses.
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
// Defines whether an open brace is put onto a new line for control blocks or not.
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": false,
// Defines whether an open brace is put onto a new line for functions or not.
"javascript.format.placeOpenBraceOnNewLineForFunctions": false,
// Enable/disable semantic checking of JavaScript files. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.
"javascript.implicitProjectConfig.checkJs": false,
// Enable/disable `experimentalDecorators` for JavaScript files that are not part of a project. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.
"javascript.implicitProjectConfig.experimentalDecorators": false,
// Preferred path style for auto imports.
// - auto: Infer the shortest path type.
// - relative: Relative to the file location.
// - non-relative: Based on the `baseUrl` configured in your `jsconfig.json`/`tsconfig.json`.
"javascript.preferences.importModuleSpecifier": "auto",
// Preferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports. Requires using TypeScript 2.9 or newer in the workspace.
"javascript.preferences.quoteStyle": "auto",
// Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.
"javascript.preferences.renameShorthandProperties": true,
// Enable/disable references CodeLens in JavaScript files.
"javascript.referencesCodeLens.enabled": false,
// Enable/disable auto import suggestions. Requires using TypeScript 2.6.1 or newer in the workspace.
"javascript.suggest.autoImports": true,
// Complete functions with their parameter signature.
"javascript.suggest.completeFunctionCalls": false,
// Enable/disable suggestion to complete JSDoc comments.
"javascript.suggest.completeJSDocs": true,
// Enabled/disable autocomplete suggestions.
"javascript.suggest.enabled": true,
// Enable/disable including unique names from the file in JavaScript suggestions.
"javascript.suggest.names": true,
// Enable/disable suggestions for paths in import statements and require calls.
"javascript.suggest.paths": true,
// Enable/disable suggestion diagnostics for JavaScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.
"javascript.suggestionActions.enabled": true,
// Enable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.
// - prompt: Prompt on each rename.
// - always: Always update paths automatically.
// - never: Never rename paths and don't prompt.
"javascript.updateImportsOnFileMove.enabled": "prompt",
// Enable/disable JavaScript validation.
"javascript.validate.enable": true,
// Enable/disable automatic closing of JSX tags. Requires using TypeScript 3.0 or newer in the workspace.
"typescript.autoClosingTags": true,
// Check if NPM is installed for Automatic Type Acquisition.
"typescript.check.npmIsInstalled": true,
// Disables automatic type acquisition. Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.
"typescript.disableAutomaticTypeAcquisition": false,
// Enable/disable default TypeScript formatter.
"typescript.format.enable": true,
// Defines space handling after a comma delimiter.
"typescript.format.insertSpaceAfterCommaDelimiter": true,
// Defines space handling after the constructor keyword. Requires using TypeScript 2.3.0 or newer in the workspace.
"typescript.format.insertSpaceAfterConstructor": false,
// Defines space handling after function keyword for anonymous functions.
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
// Defines space handling after keywords in a control flow statement.
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
// Defines space handling after opening and before closing JSX expression braces.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
// Defines space handling after opening and before closing non-empty braces. Requires using TypeScript 2.3.0 or newer in the workspace.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
// Defines space handling after opening and before closing non-empty brackets.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
// Defines space handling after opening and before closing non-empty parenthesis.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
// Defines space handling after opening and before closing template string braces.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
// Defines space handling after a semicolon in a for statement.
"typescript.format.insertSpaceAfterSemicolonInForStatements": true,
// Defines space handling after type assertions in TypeScript. Requires using TypeScript 2.4 or newer in the workspace.
"typescript.format.insertSpaceAfterTypeAssertion": false,
// Defines space handling after a binary operator.
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
// Defines space handling before function argument parentheses.
"typescript.format.insertSpaceBeforeFunctionParenthesis": false,
// Defines whether an open brace is put onto a new line for control blocks or not.
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
// Defines whether an open brace is put onto a new line for functions or not.
"typescript.format.placeOpenBraceOnNewLineForFunctions": false,
// Enable/disable implementations CodeLens. This CodeLens shows the implementers of an interface.
"typescript.implementationsCodeLens.enabled": false,
// Sets the locale used to report JavaScript and TypeScript errors. Requires using TypeScript 2.6.0 or newer in the workspace. Default of `null` uses VS Code's locale.
"typescript.locale": null,
// Specifies the path to the NPM executable used for Automatic Type Acquisition. Requires using TypeScript 2.3.4 or newer in the workspace.
"typescript.npm": null,
// Preferred path style for auto imports.
// - auto: Infer the shortest path type.
// - relative: Relative to the file location.
// - non-relative: Based on the `baseUrl` configured in your `jsconfig.json`/`tsconfig.json`.
"typescript.preferences.importModuleSpecifier": "auto",
// Preferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports. Requires using TypeScript 2.9 or newer in the workspace.
"typescript.preferences.quoteStyle": "auto",
// Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.
"typescript.preferences.renameShorthandProperties": true,
// Enable/disable references CodeLens in TypeScript files.
"typescript.referencesCodeLens.enabled": false,
// Report style checks as warnings.
"typescript.reportStyleChecksAsWarnings": true,
// Enable/disable auto import suggestions. Requires using TypeScript 2.6.1 or newer in the workspace.
"typescript.suggest.autoImports": true,
// Complete functions with their parameter signature.
"typescript.suggest.completeFunctionCalls": false,
// Enable/disable suggestion to complete JSDoc comments.
"typescript.suggest.completeJSDocs": true,
// Enabled/disable autocomplete suggestions.
"typescript.suggest.enabled": true,
// Enable/disable suggestions for paths in import statements and require calls.
"typescript.suggest.paths": true,
// Enable/disable suggestion diagnostics for TypeScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.
"typescript.suggestionActions.enabled": true,
// Enabled/disable occasional surveys that help us improve VS Code's JavaScript and TypeScript support.
"typescript.surveys.enabled": true,
// Controls auto detection of tsc tasks.
// - on: Create both build and watch tasks.
// - off: Disable this feature.
// - build: Only create single run compile tasks.
// - watch: Only create compile and watch tasks.
"typescript.tsc.autoDetect": "on",
// Specifies the folder path containing the tsserver and lib*.d.ts files to use.
"typescript.tsdk": null,
// Enables logging of the TS server to a file. This log can be used to diagnose TS Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project.
"typescript.tsserver.log": "off",
// Additional paths to discover Typescript Language Service plugins. Requires using TypeScript 2.3.0 or newer in the workspace.
"typescript.tsserver.pluginPaths": [],
// Enables tracing of messages sent to the TS server. This trace can be used to diagnose TS Server issues. The trace may contain file paths, source code, and other potentially sensitive information from your project.
"typescript.tsserver.trace": "off",
// Enable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.
// - prompt: Prompt on each rename.
// - always: Always update paths automatically.
// - never: Never rename paths and don't prompt.
"typescript.updateImportsOnFileMove.enabled": "prompt",
// Enable/disable TypeScript validation.
"typescript.validate.enable": true,
// By default, VS Code triggers property value completion after selecting a CSS property. Use this setting to disable this behavior.
"css.completion.triggerPropertyValueCompletion": true,
// A list of JSON file paths that define custom CSS data that loads custom properties, at directives, pseudo classes/elements.
"css.experimental.customData": [],
// Invalid number of parameters.
"css.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
"css.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific properties.
"css.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
"css.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
"css.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
"css.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
"css.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
"css.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
"css.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
"css.lint.ieHack": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
"css.lint.important": "ignore",
// Import statements do not load in parallel.
"css.lint.importStatement": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
"css.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
"css.lint.universalSelector": "ignore",
// Unknown at-rule.
"css.lint.unknownAtRules": "warning",
// Unknown property.
"css.lint.unknownProperties": "warning",
// Unknown vendor specific property.
"css.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"css.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
"css.lint.vendorPrefix": "warning",
// No unit for zero needed.
"css.lint.zeroUnits": "ignore",
// Traces the communication between VS Code and the CSS language server.
"css.trace.server": "off",
// Enables or disables all validations.
"css.validate": true,
// Invalid number of parameters.
"less.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
"less.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific properties.
"less.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
"less.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
"less.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
"less.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
"less.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
"less.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
"less.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
"less.lint.ieHack": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
"less.lint.important": "ignore",
// Import statements do not load in parallel.
"less.lint.importStatement": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
"less.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
"less.lint.universalSelector": "ignore",
// Unknown property.
"less.lint.unknownProperties": "warning",
// Unknown vendor specific property.
"less.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"less.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
"less.lint.vendorPrefix": "warning",
// No unit for zero needed.
"less.lint.zeroUnits": "ignore",
// Enables or disables all validations.
"less.validate": true,
// Invalid number of parameters.
"scss.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
"scss.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific properties.
"scss.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
"scss.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
"scss.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
"scss.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
"scss.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
"scss.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
"scss.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
"scss.lint.ieHack": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
"scss.lint.important": "ignore",
// Import statements do not load in parallel.
"scss.lint.importStatement": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
"scss.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
"scss.lint.universalSelector": "ignore",
// Unknown property.
"scss.lint.unknownProperties": "warning",
// Unknown vendor specific property.
"scss.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"scss.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
"scss.lint.vendorPrefix": "warning",
// No unit for zero needed.
"scss.lint.zeroUnits": "ignore",
// Enables or disables all validations.
"scss.validate": true,
// When enabled, automatically checks extensions for updates. If an extension has an update, it is marked as outdated in the Extensions view. The updates are fetched from a Microsoft online service.
"extensions.autoCheckUpdates": true,
// When enabled, automatically installs updates for extensions. The updates are fetched from a Microsoft online service.
"extensions.autoUpdate": true,
// When enabled, editors with extension details will be automatically closed upon navigating away from the Extensions View.
"extensions.closeExtensionDetailsOnViewChange": false,
// When enabled, the notifications for extension recommendations will not be shown.
"extensions.ignoreRecommendations": false,
// When enabled, recommendations will not be fetched or shown unless specifically requested by the user. Some recommendations are fetched from a Microsoft online service.
"extensions.showRecommendationsOnlyOnDemand": false,
// Customizes what kind of terminal to launch.
// - integrated: Use VS Code's integrated terminal.
// - external: Use the configured external terminal.
"terminal.explorerKind": "integrated",
// Customizes which terminal to run on Linux.
"terminal.external.linuxExec": "xterm",
// Customizes which terminal application to run on macOS.
"terminal.external.osxExec": "Terminal.app",
// Customizes which terminal to run on Windows.
"terminal.external.windowsExec": "C:\\windows\\System32\\cmd.exe",
// A set of command IDs whose keybindings will not be sent to the shell and instead always be handled by Code. This allows the use of keybindings that would normally be consumed by the shell to act the same as when the terminal is not focused, for example ctrl+p to launch Quick Open.
// Default Skipped Commands:
//
// - editor.action.toggleTabFocusMode
// - workbench.action.debug.continue
// - workbench.action.debug.pause
// - workbench.action.debug.restart
// - workbench.action.debug.run
// - workbench.action.debug.start
// - workbench.action.debug.stepInto
// - workbench.action.debug.stepOut
// - workbench.action.debug.stepOver
// - workbench.action.debug.stop
// - workbench.action.firstEditorInGroup
// - workbench.action.focusActiveEditorGroup
// - workbench.action.focusEighthEditorGroup
// - workbench.action.focusFifthEditorGroup
// - workbench.action.focusFirstEditorGroup
// - workbench.action.focusFourthEditorGroup
// - workbench.action.focusLastEditorGroup
// - workbench.action.focusSecondEditorGroup
// - workbench.action.focusSeventhEditorGroup
// - workbench.action.focusSixthEditorGroup
// - workbench.action.focusThirdEditorGroup
// - workbench.action.lastEditorInGroup
// - workbench.action.navigateDown
// - workbench.action.navigateLeft
// - workbench.action.navigateRight
// - workbench.action.navigateUp
// - workbench.action.nextPanelView
// - workbench.action.nextSideBarView
// - workbench.action.openNextRecentlyUsedEditorInGroup
// - workbench.action.openPreviousRecentlyUsedEditorInGroup
// - workbench.action.previousPanelView
// - workbench.action.previousSideBarView
// - workbench.action.quickOpen
// - workbench.action.quickOpenPreviousEditor
// - workbench.action.quickOpenView
// - workbench.action.showCommands
// - workbench.action.tasks.build
// - workbench.action.tasks.reRunTask
// - workbench.action.tasks.restartTask
// - workbench.action.tasks.runTask
// - workbench.action.tasks.showLog
// - workbench.action.tasks.showTasks
// - workbench.action.tasks.terminate
// - workbench.action.tasks.test
// - workbench.action.terminal.clear
// - workbench.action.terminal.clearSelection
// - workbench.action.terminal.copySelection
// - workbench.action.terminal.deleteToLineStart
// - workbench.action.terminal.deleteWordLeft
// - workbench.action.terminal.deleteWordRight
// - workbench.action.terminal.findNextTerminalFocus
// - workbench.action.terminal.findPreviousTerminalFocus
// - workbench.action.terminal.focus
// - workbench.action.terminal.focusAtIndex1
// - workbench.action.terminal.focusAtIndex2
// - workbench.action.terminal.focusAtIndex3
// - workbench.action.terminal.focusAtIndex4
// - workbench.action.terminal.focusAtIndex5
// - workbench.action.terminal.focusAtIndex6
// - workbench.action.terminal.focusAtIndex7
// - workbench.action.terminal.focusAtIndex8
// - workbench.action.terminal.focusAtIndex9
// - workbench.action.terminal.focusFindWidget
// - workbench.action.terminal.focusNext
// - workbench.action.terminal.focusNextPane
// - workbench.action.terminal.focusPrevious
// - workbench.action.terminal.focusPreviousPane
// - workbench.action.terminal.hideFindWidget
// - workbench.action.terminal.kill
// - workbench.action.terminal.moveToLineEnd
// - workbench.action.terminal.moveToLineStart
// - workbench.action.terminal.new
// - workbench.action.terminal.newInActiveWorkspace
// - workbench.action.terminal.paste
// - workbench.action.terminal.resizePaneDown
// - workbench.action.terminal.resizePaneLeft
// - workbench.action.terminal.resizePaneRight
// - workbench.action.terminal.resizePaneUp
// - workbench.action.terminal.runActiveFile
// - workbench.action.terminal.runSelectedText
// - workbench.action.terminal.scrollDown
// - workbench.action.terminal.scrollDownPage
// - workbench.action.terminal.scrollToBottom
// - workbench.action.terminal.scrollToNextCommand
// - workbench.action.terminal.scrollToPreviousCommand
// - workbench.action.terminal.scrollToTop
// - workbench.action.terminal.scrollUp
// - workbench.action.terminal.scrollUpPage
// - workbench.action.terminal.selectAll
// - workbench.action.terminal.selectToNextCommand
// - workbench.action.terminal.selectToNextLine
// - workbench.action.terminal.selectToPreviousCommand
// - workbench.action.terminal.selectToPreviousLine
// - workbench.action.terminal.sendSequence
// - workbench.action.terminal.split
// - workbench.action.terminal.splitInActiveWorkspace
// - workbench.action.terminal.toggleFindCaseSensitiveTerminalFocus
// - workbench.action.terminal.toggleFindRegexTerminalFocus
// - workbench.action.terminal.toggleFindWholeWordTerminalFocus
// - workbench.action.terminal.toggleTerminal
// - workbench.action.toggleFullScreen
// - workbench.action.toggleMaximizedPanel
// - workbench.action.togglePanel
"terminal.integrated.commandsToSkipShell": [],
// Controls whether to confirm on exit if there are active terminal sessions.
"terminal.integrated.confirmOnExit": false,
// Controls whether text selected in the terminal will be copied to the clipboard.
"terminal.integrated.copyOnSelection": false,
// Controls whether the terminal cursor blinks.
"terminal.integrated.cursorBlinking": false,
// Controls the style of terminal cursor.
"terminal.integrated.cursorStyle": "block",
// An explicit start path where the terminal will be launched, this is used as the current working directory (cwd) for the shell process. This may be particularly useful in workspace settings if the root directory is not a convenient cwd.
"terminal.integrated.cwd": "",
// Controls whether bold text in the terminal will always use the "bright" ANSI color variant.
"terminal.integrated.drawBoldTextInBrightColors": true,
// Controls whether the terminal bell is enabled.
"terminal.integrated.enableBell": false,
// Object with environment variables that will be added to the VS Code process to be used by the terminal on Linux. Set to `null` to delete the environment variable.
"terminal.integrated.env.linux": {},
// Object with environment variables that will be added to the VS Code process to be used by the terminal on macOS. Set to `null` to delete the environment variable.
"terminal.integrated.env.osx": {},
// Object with environment variables that will be added to the VS Code process to be used by the terminal on Windows. Set to `null` to delete the environment variable.
"terminal.integrated.env.windows": {},
// Controls the font family of the terminal, this defaults to `editor.fontFamily`'s value.
"terminal.integrated.fontFamily": "",
// Controls the font size in pixels of the terminal.
"terminal.integrated.fontSize": 14,
// The font weight to use within the terminal for non-bold text.
"terminal.integrated.fontWeight": "normal",
// The font weight to use within the terminal for bold text.
"terminal.integrated.fontWeightBold": "bold",
// Controls the letter spacing of the terminal, this is an integer value which represents the amount of additional pixels to add between characters.
"terminal.integrated.letterSpacing": 0,
// Controls the line height of the terminal, this number is multiplied by the terminal font size to get the actual line-height in pixels.
"terminal.integrated.lineHeight": 1,
// Controls whether to force selection when using Option+click on macOS. This will force a regular (line) selection and disallow the use of column selection mode. This enables copying and pasting using the regular terminal selection, for example, when mouse mode is enabled in tmux.
"terminal.integrated.macOptionClickForcesSelection": false,
// Controls whether to treat the option key as the meta key in the terminal on macOS.
"terminal.integrated.macOptionIsMeta": false,
// Controls how the terminal is rendered.
// - auto: Let VS Code guess which renderer to use.
// - canvas: Use the standard GPU/canvas-based renderer
// - dom: Use the fallback DOM-based renderer.
"terminal.integrated.rendererType": "auto",
// Controls how terminal reacts to right click.
// - default: Show the context menu.
// - copyPaste: Copy when there is a selection, otherwise paste.
// - selectWord: Select the word under the cursor and show the context menu.
"terminal.integrated.rightClickBehavior": "copyPaste",
// Controls the maximum amount of lines the terminal keeps in its buffer.
"terminal.integrated.scrollback": 1000,
// Controls whether locale variables are set at startup of the terminal.
"terminal.integrated.setLocaleVariables": true,
// The path of the shell that the terminal uses on Linux. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shell.linux": "/bin/bash",
// The path of the shell that the terminal uses on macOS. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shell.osx": "/bin/bash",
// The path of the shell that the terminal uses on Windows. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shell.windows": "C:\\windows\\system32\\cmd.exe",
// The command line arguments to use when on the Linux terminal. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shellArgs.linux": [],
// The command line arguments to use when on the macOS terminal. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shellArgs.osx": [
"-l"
],
// The command line arguments to use when on the Windows terminal. [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shellArgs.windows": [],
// Controls whether to show the alert "The terminal process terminated with exit code" when exit code is non-zero.
"terminal.integrated.showExitAlert": true,
// Controls the working directory a split terminal starts with.
// - workspaceRoot: A new split terminal will use the workspace root as the working directory. In a multi-root workspace a choice for which root folder to use is offered.
// - initial: A new split terminal will use the working directory that the parent terminal started with.
// - inherited: On macOS and Linux, a new split terminal will use the working directory of the parent terminal. On Windows, this behaves the same as initial.
"terminal.integrated.splitCwd": "inherited",
// Whether to use ConPTY for Windows terminal process communication (requires Windows 10 build number 18309+). Winpty will be used if this is false.
"terminal.integrated.windowsEnableConpty": true,
// Controls whether Problems view should automatically reveal files when opening them.
"problems.autoReveal": true,
// Show Errors & Warnings on files and folder.
"problems.decorations.enabled": true,
// Enable/disable navigation breadcrumbs.
"breadcrumbs.enabled": false,
// Controls whether and how file paths are shown in the breadcrumbs view.
// - on: Show the file path in the breadcrumbs view.
// - off: Do not show the file path in the breadcrumbs view.
// - last: Only show the last element of the file path in the breadcrumbs view.
"breadcrumbs.filePath": "on",
// Controls whether and how symbols are shown in the breadcrumbs view.
// - on: Show all symbols in the breadcrumbs view.
// - off: Do not show symbols in the breadcrumbs view.
// - last: Only show the current symbol in the breadcrumbs view.
"breadcrumbs.symbolPath": "on",
// Controls how symbols are sorted in the breadcrumbs outline view.
// - position: Show symbol outline in file position order.
// - name: Show symbol outline in alphabetical order.
// - type: Show symbol outline in symbol type order.
"breadcrumbs.symbolSortOrder": "position",
// Enable crash reports to be sent to a Microsoft online service.
// This option requires restart to take effect.
"telemetry.enableCrashReporter": true,
// Enable usage data and errors to be sent to a Microsoft online service.
"telemetry.enableTelemetry": true,
// Render Outline Elements with Icons.
"outline.icons": true,
// Use badges for Errors & Warnings.
"outline.problems.badges": true,
// Use colors for Errors & Warnings.
"outline.problems.colors": true,
// Show Errors & Warnings on Outline Elements.
"outline.problems.enabled": true,
// Whether to clear previous output before each run.
"code-runner.clearPreviousOutput": false,
// Set the custom command to run.
"code-runner.customCommand": "echo Hello",
// Set the working directory.
"code-runner.cwd": "",
// Set the default language to run.
"code-runner.defaultLanguage": "",
// Whether to enable AppInsights to track user telemetry data.
"code-runner.enableAppInsights": true,
// Set the executor of each language.
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"csharp": "scriptcs",
"vbscript": "cscript //Nologo",
"typescript": "ts-node",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"ahk": "autohotkey",
"autoit": "autoit3",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runhaskell",
"nim": "nim compile --verbosity:0 --hints:off --run",
"lisp": "sbcl --script",
"kit": "kitc --run"
},
// Set the executor of each file extension.
"code-runner.executorMapByFileExtension": {
".vb": "cd $dir && vbc /nologo $fileName && $dir$fileNameWithoutExt",
".vbs": "cscript //Nologo",
".scala": "scala",
".jl": "julia",
".cr": "crystal",
".ml": "ocaml",
".exs": "elixir",
".hx": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
".rkt": "racket",
".ahk": "autohotkey",
".au3": "autoit3",
".kt": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar",
".kts": "kotlinc -script",
".dart": "dart",
".pas": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".pp": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
".hs": "runhaskell",
".nim": "nim compile --verbosity:0 --hints:off --run",
".csproj": "dotnet run --project",
".fsproj": "dotnet run --project",
".lisp": "sbcl --script",
".kit": "kitc --run"
},
// Set the executor by glob.
"code-runner.executorMapByGlob": {
"pom.xml": "cd $dir && mvn clean package"
},
// Whether to use the directory of the file to be executed as the working directory.
"code-runner.fileDirectoryAsCwd": false,
// Whether to ignore selection to always run entire file.
"code-runner.ignoreSelection": false,
// Set the mapping of languageId to file extension.
"code-runner.languageIdToFileExtensionMap": {
"bat": ".bat",
"powershell": ".ps1",
"typescript": ".ts"
},
// Whether to preserve focus on code editor after code run is triggered.
"code-runner.preserveFocus": true,
// Whether to respect Shebang to run code.
"code-runner.respectShebang": true,
// Whether to run code in Integrated Terminal.
"code-runner.runInTerminal": false,
// Whether to save all files before running.
"code-runner.saveAllFilesBeforeRun": false,
// Whether to save the current file before running.
"code-runner.saveFileBeforeRun": false,
// Whether to show extra execution message like [Running] ... and [Done] ...
"code-runner.showExecutionMessage": true,
// Whether to show 'Run Code' command in editor context menu.
"code-runner.showRunCommandInEditorContextMenu": true,
// Whether to show 'Run Code' icon in editor title menu.
"code-runner.showRunIconInEditorTitleMenu": true,
// Temporary file name used in running selected code snippet. When it is set as empty, the file name will be random.
"code-runner.temporaryFileName": "tempCodeRunnerFile",
// For Windows system, replaces the Windows style drive letter in the command with a Unix style root when using a custom shell as the terminal, like Bash or Cgywin. Example: Setting this to '/mnt/' will replace 'C:\path' with '/mnt/c/path'
"code-runner.terminalRoot": "",
// Configure editor settings to be overridden for [git-commit] language.
"[git-commit]": {
"editor.rulers": [
72
]
},
// Configure editor settings to be overridden for [go] language.
"[go]": {
"editor.insertSpaces": false
},
// Configure editor settings to be overridden for [json] language.
"[json]": {
"editor.quickSuggestions": {
"strings": true
}
},
// Configure editor settings to be overridden for [makefile] language.
"[makefile]": {
"editor.insertSpaces": false
},
// Configure editor settings to be overridden for [markdown] language.
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": false
},
// Configure editor settings to be overridden for [yaml] language.
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": false
},
// A path to file containing the configuration options for jshint. If the file exists it overrides jshint.options and any .jshintrc file
"jshint.config": null,
// Control whether or not jshint is enabled for JavaScript files.
"jshint.enable": true,
// Matching files and directories are being ignored by jshint. Glob patterns are interpreted relative to the workspace's root folder.
"jshint.exclude": {},
// A path to a file containing patterns describing which files and directories should be ignored by jshint. If the file exists it overrides jshint.exclude and any .jshintignore file.
"jshint.excludePath": null,
// Lint JavaScript embedded in HTML
"jshint.lintHTML": false,
// Configures the path to the jshint module. Can be an absolute path or relative to the current directory.
"jshint.nodePath": "",
// The jshint options object to provide args to the jshint command.
"jshint.options": {},
// The package manager you use to install node modules.
"jshint.packageManager": "npm",
// Report warnings as errors
"jshint.reportWarningsAsErrors": false,
// Traces the communication between VS Code and the jshint linter service.
"jshint.trace.server": "off",
// Controls whether auto detection of Gulp tasks is on or off. Default is on.
"gulp.autoDetect": "on",
// Enable/disable the 'auto build'
"java.autobuild.enabled": true,
// Generate method comments when generating the hashCode and equals methods.
"java.codeGeneration.hashCodeEquals.generateComments": false,
// Use blocks in 'if' statements when generating the hashCode and equals methods.
"java.codeGeneration.hashCodeEquals.useBlocks": false,
// Use 'instanceof' to compare types when generating the hashCode and equals methods.
"java.codeGeneration.hashCodeEquals.useInstanceof": false,
// Use Objects.hash and Objects.equals when generating the hashCode and equals methods. This setting only applies to Java 7 and higher.
"java.codeGeneration.hashCodeEquals.useJava7Objects": false,
// Enable/disable code completion support
"java.completion.enabled": true,
// Defines a list of static members or types with static members. Content assist will propose those static members even if the import is missing.
"java.completion.favoriteStaticMembers": [
"org.junit.Assert.*",
"org.junit.Assume.*",
"org.junit.jupiter.api.Assertions.*",
"org.junit.jupiter.api.Assumptions.*",
"org.junit.jupiter.api.DynamicContainer.*",
"org.junit.jupiter.api.DynamicTest.*",
"org.mockito.Mockito.*",
"org.mockito.ArgumentMatchers.*",
"org.mockito.Answers.*"
],
// When set to true, method arguments are guessed when a method is selected from as list of code assist proposals.
"java.completion.guessMethodArguments": false,
// Defines the sorting order of import statements. A package or type name prefix (e.g. 'org.eclipse') is a valid entry. An import is always added to the most specific group.
"java.completion.importOrder": [
"java",
"javax",
"com",
"org"
],
// When set to true, code completion overwrites the current text. When set to false, code is simply added instead.
"java.completion.overwrite": true,
// Checks if the extension-generated project settings files (.project, .classpath, .factorypath, .settings/) should be excluded from the file explorer.
"java.configuration.checkProjectSettingsExclusions": true,
// Path to Maven's settings.xml
"java.configuration.maven.userSettings": null,
// Specifies how modifications on build files update the Java classpath/configuration
"java.configuration.updateBuildConfiguration": "interactive",
// Preferred content provider (a 3rd party decompiler id, usually)
"java.contentProvider.preferred": null,
// Specifies the severity of the message when the classpath is incomplete for a Java file
"java.errors.incompleteClasspath.severity": "warning",
// Enable/disable smart folding range support. If disabled, it will use the default indentation-based folding range provided by VS Code.
"java.foldingRange.enabled": true,
// Includes the comments during code formatting.
"java.format.comments.enabled": true,
// Enable/disable default Java formatter
"java.format.enabled": true,
// Enable/disable automatic block formatting when typing `;`, `<enter>` or `}`
"java.format.onType.enabled": true,
// Optional formatter profile name from the Eclipse formatter settings.
"java.format.settings.profile": null,
// Specifies the url or file path to the [Eclipse formatter xml settings](https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings).
"java.format.settings.url": null,
// Specifies the folder path to the JDK (8 or more recent) used to launch the Java Language Server.
// On Windows, backslashes must be escaped, i.e.
// "java.home":"C:\\Program Files\\Java\\jdk1.8.0_161"
"java.home": null,
// Enable/disable the implementations code lens.
"java.implementationsCodeLens.enabled": false,
// Configure glob patterns for excluding folders
"java.import.exclusions": [
"**/node_modules/**",
"**/.metadata/**",
"**/archetype-resources/**",
"**/META-INF/maven/**"
],
// Enable/disable the Gradle importer.
"java.import.gradle.enabled": true,
// Enable/disable the Maven importer.
"java.import.maven.enabled": true,
// Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector
"java.jdt.ls.vmargs": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication",
// Max simultaneous project builds
"java.maxConcurrentBuilds": 1,
// [Experimental] Enable/disable progress reports from background processes on the server.
"java.progressReports.enabled": true,
// Enable/disable the references code lens.
"java.referencesCodeLens.enabled": false,
// Enable/disable auto organize imports on save action
"java.saveActions.organizeImports": false,
// Enable/disable the signature help.
"java.signatureHelp.enabled": false,
// Traces the communication between VS Code and the Java language server.
"java.trace.server": "off",
// Controls whether auto detection of Jake tasks is on or off. Default is on.
"jake.autoDetect": "on",
// Enable Visual Studio IntelliCode completions for Java
"vsintellicode.java.completionsEnabled": true,
// Control whether Visual Studio IntelliCode will modify `editor.suggestSelection` if it is set to a value (`recentlyUsed`) that will result in IntelliCode suggested completion items not being visible.
// - enabled: Allows IntelliCode to modify the editor.suggestSelection setting on your behalf.
// - disabled: You've explicitly opted out of having this configuration controlled by IntelliCode.
// - automaticallyOverrodeDefaultValue: (DO NOT SET THIS MANUALLY) IntelliCode will set this to record that configuration has been automatically modified to override a default value.
// - choseToUpdateConfiguration: (DO NOT SET THIS MANUALLY) IntelliCode will set this to record that you've chosen to let IntelliCode change the configuration from a value that was explicitly set.
"vsintellicode.modify.editor.suggestSelection": "enabled",
// Enable Visual Studio IntelliCode completions for Python
"vsintellicode.python.completionsEnabled": true,
// Enable Visual Studio IntelliCode completions for TypeScript and JavaScript
"vsintellicode.typescript.completionsEnabled": true,
// An array of languages where Emmet abbreviations should not be expanded.
"emmet.excludeLanguages": [
"markdown"
],
// Path to a folder containing Emmet profiles and snippets.
"emmet.extensionsPath": null,
// Enable Emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and emmet supported language.
// E.g.: `{"vue-html": "html", "javascript": "javascriptreact"}`
"emmet.includeLanguages": {},
// When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in css/scss/less files is parsed.
"emmet.optimizeStylesheetParsing": true,
// Preferences used to modify behavior of some actions and resolvers of Emmet.
"emmet.preferences": {},
// Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is set to `"never"`.
"emmet.showAbbreviationSuggestions": true,
// Shows expanded Emmet abbreviations as suggestions.
// The option `"inMarkupAndStylesheetFilesOnly"` applies to html, haml, jade, slim, xml, xsl, css, scss, sass, less and stylus.
// The option `"always"` applies to all parts of the file regardless of markup/css.
"emmet.showExpandedAbbreviation": "always",
// If `true`, then Emmet suggestions will show up as snippets allowing you to order them as per `editor.snippetSuggestions` setting.
"emmet.showSuggestionsAsSnippets": false,
// Define profile for specified syntax or use your own profile with specific rules.
"emmet.syntaxProfiles": {},
// When enabled, Emmet abbreviations are expanded when pressing TAB.
"emmet.triggerExpansionOnTab": false,
// Variables to be used in Emmet snippets
"emmet.variables": {},
// Minimum level of debugger logs that are sent to VS Code.
"java.debug.logLevel": "warn",
// Enable hot code replace for Java code.
"java.debug.settings.enableHotCodeReplace": true,
// Enable the run and debug code lens providers over main methods.
"java.debug.settings.enableRunDebugCodeLens": true,
// Force building the workspace before launching java program.
"java.debug.settings.forceBuildBeforeLaunch": true,
// The maximum length of strings displayed in "Variables" or "Debug Console" viewlet, strings longer than this length will be trimmed, if 0 no trim is performed.
"java.debug.settings.maxStringLength": 0,
// Show numbers in hex format in "Variables" viewlet.
"java.debug.settings.showHex": false,
// Show fully qualified class names in "Variables" viewlet.
"java.debug.settings.showQualifiedNames": false,
// Show static variables in "Variables" viewlet.
"java.debug.settings.showStaticVariables": true,
// Controls whether 'Peek References' or 'Find References' is invoked when selecting code lens references
// - peek: Show references in peek editor.
// - view: Show references in separate view.
"references.preferredLocation": "peek",
// Automatically attach node debugger when node.js was launched in debug mode from integrated terminal.
// - disabled: Auto attach is disabled and not shown in status bar.
// - on: Auto attach is active.
// - off: Auto attach is inactive.
"debug.node.autoAttach": "disabled",
// Use `*` or `_` to wrap italic text
"markdown.extension.italic.indicator": "*",
// Whether to use different indentation sizes on different contexts
// - adaptive: Use 2 spaces for unordered list and 3 for the ordered
// - inherit: Use the configured tab size of the current document (see vscode status bar)
"markdown.extension.list.indentationSize": "adaptive",
// Auto fix ordered list markers
"markdown.extension.orderedList.autoRenumber": true,
// `one`: always use `1.` as ordered list marker; `ordered`
"markdown.extension.orderedList.marker": "ordered",
// Auto show preview to side
"markdown.extension.preview.autoShowPreviewToSide": false,
// Convert image path to absolute path
"markdown.extension.print.absoluteImgPath": true,
// Convert images to base64 when printing to HTML
"markdown.extension.print.imgToBase64": false,
// Show outline view in explorer panel
"markdown.extension.showExplorer": false,
// Add syntax decorations
"markdown.extension.syntax.decorations": true,
// Only take effect when `extension.syntax.decorations` is enabled
"markdown.extension.syntax.plainTheme": false,
// Enable GFM table formatter
"markdown.extension.tableFormatter.enabled": true,
// Normalize table indentation to closest multiple of configured tabSize
"markdown.extension.tableFormatter.normalizeIndentation": false,
// GitHub Compatibility
"markdown.extension.toc.githubCompatibility": false,
// Range of levels for table of contents. Use `x..y` for level x to y
"markdown.extension.toc.levels": "1..6",
// Use ordered list (1. ..., 2. ...)
"markdown.extension.toc.orderedList": false,
// Just plain text
"markdown.extension.toc.plaintext": false,
// Use `-`, `*` or `+` in the table of contents (for unordered list)
"markdown.extension.toc.unorderedList.marker": "-",
// Auto update on save
"markdown.extension.toc.updateOnSave": true,
// Specifies file path pattern of folders to exclude while searching for Maven projects.
"maven.excludedFolders": [
"**/.*",
"**/node_modules",
"**/target",
"**/bin"
],
// Specifies default options for all mvn commands.
"maven.executable.options": "",
// Specifies absolute path of your mvn executable. When this value is empty, it tries using 'mvn' or 'mvnw' according to value of 'maven.executable.preferMavenWrapper'. Note that a relative path is not suggested, but if you do specify one, the absolute path will be resolved from your workspace root folder (if exists).
"maven.executable.path": "",
// Specifies whether you prefer to use Maven wrapper. If true, it tries using 'mvnw' in root folder by default if the file configuration exists. Otherwise it tries 'mvn' in PATH instead.
"maven.executable.preferMavenWrapper": "true",
// Specifies an array of environment variable names and values. These environment variable values will be added to the terminal session before Maven is first executed.
"maven.terminal.customEnv": [],
// Specify pre-defined favorite commands to execute.
"maven.terminal.favorites": [],
// If this value is true, and if the setting java.home has a value, then the environment variable JAVA_HOME will be set to the value of java.home when a new terminal window is created.
"maven.terminal.useJavaHome": false,
// Specifies the way of viewing Maven projects.
"maven.view": "flat",
// Specify the configurations for running the tests
"java.test.config": {},
// Specify the name of the default test configuration
"java.test.defaultConfig": "",
// Specify the level of the test logs
"java.test.log.level": "info",
// Specify whether the extension will show hint dialog when deprecated configuration file is used
"java.test.message.hintForDeprecatedConfig": true,
// Specify whether the extension will show hint to set default test configuration
"java.test.message.hintForSetingDefaultConfig": true,
// Specify where to show the test report
"java.test.report.position": "sideView",
// Package presentation mode: flat or hierarchical
"java.dependency.packagePresentation": "flat",
// Enable show outline in the Java Dependency explorer
"java.dependency.showOutline": true,
// Synchronize dependency viewer selection with folder explorer
"java.dependency.syncWithFolderExplorer": true,
// Controls whether auto detection of Grunt tasks is on or off. Default is on.
"grunt.autoDetect": "on",
// Controls whether npm scripts should be automatically detected.
"npm.autoDetect": "on",
// Enable an explorer view for npm scripts.
"npm.enableScriptExplorer": false,
// Configure glob patterns for folders that should be excluded from automatic script detection.
"npm.exclude": "",
// Fetch data from https://registry.npmjs/org and https://registry.bower.io to provide auto-completion and information on hover features on npm dependencies.
"npm.fetchOnlinePackageInfo": true,
// The package manager used to run scripts.
"npm.packageManager": "npm",
// Run npm commands with the `--silent` option.
"npm.runSilent": false,
// The default click action used in the scripts explorer: `open` or `run`, the default is `open`.
"npm.scriptExplorerAction": "open",
// Whether to automatically navigate to the next merge conflict after resolving a merge conflict.
"merge-conflict.autoNavigateNextConflict.enabled": false,
// Create a Code Lens for merge conflict blocks within editor.
"merge-conflict.codeLens.enabled": true,
// Create decorators for merge conflict blocks within editor.
"merge-conflict.decorators.enabled": true,
// Controls whether force push (with or without lease) is enabled.
"git.allowForcePush": false,
// Always show the Staged Changes resource group.
"git.alwaysShowStagedChangesResourceGroup": false,
// Controls the signoff flag for all commits.
"git.alwaysSignOff": false,
// When enabled, commits will automatically be fetched from the default remote of the current Git repository.
"git.autofetch": false,
// Duration in seconds between each automatic git fetch, when `git.autofetch` is enabled.
"git.autofetchPeriod": 180,
// Whether auto refreshing is enabled.
"git.autorefresh": true,
// Configures when repositories should be automatically detected.
// - true: Scan for both subfolders of the current opened folder and parent folders of open files.
// - false: Disable automatic repository scanning.
// - subFolders: Scan for subfolders of the currently opened folder.
// - openEditors: Scan for parent folders of open files.
"git.autoRepositoryDetection": true,
// Stash any changes before pulling and restore them after successful pull.
"git.autoStash": false,
// A regular expression to validate new branch names.
"git.branchValidationRegex": "",
// The character to replace whitespace in new branch names.
"git.branchWhitespaceChar": "-",
// Controls what type of branches are listed when running `Checkout to...`.
// - all: Show all references.
// - local: Show only local branches.
// - tags: Show only tags.
// - remote: Show only remote branches.
"git.checkoutType": "all",
// Always confirm the creation of empty commits.
"git.confirmEmptyCommits": true,
// Controls whether to ask for confirmation before force-pushing.
"git.confirmForcePush": true,
// Confirm before synchronizing git repositories.
"git.confirmSync": true,
// Controls the git badge counter.
// - all: Count all changes.
// - tracked: Count only tracked changes.
// - off: Turn off counter.
"git.countBadge": "all",
// Controls whether Git contributes colors and badges to the explorer and the open editors view.
"git.decorations.enabled": true,
// The default location to clone a git repository.
"git.defaultCloneDirectory": null,
// Controls whether to automatically detect git submodules.
"git.detectSubmodules": true,
// Controls the limit of git submodules detected.
"git.detectSubmodulesLimit": 10,
// Enables commit signing with GPG.
"git.enableCommitSigning": false,
// Whether git is enabled.
"git.enabled": true,
// Commit all changes when there are no staged changes.
"git.enableSmartCommit": false,
// Fetch all branches when pulling or just the current one.
"git.fetchOnPull": false,
// List of git repositories to ignore.
"git.ignoredRepositories": [],
// Ignores the legacy Git warning.
"git.ignoreLegacyWarning": false,
// Ignores the warning when there are too many changes in a repository.
"git.ignoreLimitWarning": false,
// Ignores the warning when Git is missing.
"git.ignoreMissingGitWarning": false,
// Controls when to show commit message input validation.
"git.inputValidation": "warn",
// Controls the commit message length threshold for showing a warning.
"git.inputValidationLength": 72,
// Controls the commit message subject length threshold for showing a warning. Unset it to inherit the value of `config.inputValidationLength`.
"git.inputValidationSubjectLength": 50,
// Controls whether the diff editor should be opened when clicking a change. Otherwise the regular editor will be opened.
"git.openDiffOnClick": true,
// Path and filename of the git executable, e.g. `C:\Program Files\Git\bin\git.exe` (Windows).
"git.path": null,
// Runs a git command after a successful commit.
// - none: Don't run any command after a commit.
// - push: Run 'Git Push' after a successful commit.
// - sync: Run 'Git Sync' after a successful commit.
"git.postCommitCommand": "none",
// Controls whether Git should check for unsaved files before committing.
"git.promptToSaveFilesBeforeCommit": true,
// Force git to use rebase when running the sync command.
"git.rebaseWhenSync": false,
// List of paths to search for git repositories in.
"git.scanRepositories": [],
// Controls whether to show an inline Open File action in the Git changes view.
"git.showInlineOpenFileAction": true,
// Controls whether git actions should show progress.
"git.showProgress": true,
// Controls whether to show a notification when a push is successful.
"git.showPushSuccessNotification": false,
// Controls whether force pushing uses the safer force-with-lease variant.
"git.useForcePushWithLease": true,
}
The following error occurs when programming in VsCode and using anaconda’s virtual environment as the interpreter to import Cv2
ImportError: numpy.core.multiarray failed to import
After checking the trial, it was found that:
I use on spyder without this error; Also used after trying to update numPY; And the python interpreter in the lower left corner is the right choice;
It turned out that the reason might be that vs Code was not started correctly and the Anaconda environment might not have been activated.
In the Anaconda Prompt, the following is executed in sequence
conda activate env_name
cd workDir
code .
So now it’s activated and the import is correct.
In addition, try to directly open VS Code, and then open python working directory in the File-Open folder.
Also note this error. The environment of Vscode is correct, but the terminal does not activate the environment. This can be determined by checking the contents of the prefix brackets.
one of the most annoying aspects of python is code alignment, and tabs and Spaces are not the same, so you want to display them for ease of reference. Baidu online a solution, and I am not exactly the same, but still solved. – extensive chemical and
open setting, enter renderControlCharacters in the search box, and select the check box to display TAB.
2. Enter renderWhitespace in the search box and select all to display the space.
baidu to solution: https://www.jianshu.com/p/e9ee1de056b2 p>