Home >Development Tools >VSCode >Settings for vscode pasting code without indentation

Settings for vscode pasting code without indentation

王林
王林Original
2019-12-16 09:52:164333browse

Settings for vscode pasting code without indentation

First open VS. This article takes VS2013 as an example. Select "Tools—>Options" in the menu bar. Open the options window.

Settings for vscode pasting code without indentation

After opening the options window, select the "Text Editor" item on the left, and then set the language you want to apply.

Settings for vscode pasting code without indentation

Example 1: C# language, select the C# item on the left, then Format Settings -> General, uncheck "Automatically format when pasting" on the right That's it.

Settings for vscode pasting code without indentation

Example 2: HTML, select the HTML item on the left, then select the "Advanced" item, and set the "Format when pasting" on the right to False.

Settings for vscode pasting code without indentation

Example 3: Javascript, select the Javascript item on the left, then select the "Format Settings -> General" item, and check the box in front of "Format when pasting" on the right Just remove it.

Settings for vscode pasting code without indentation

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of Settings for vscode pasting code without indentation. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn