Home > Development Tools > VSCode > body text

How to format and paste vscode

angryTom
Release: 2020-02-05 12:10:06
Original
3763 people have browsed it

How to format and paste vscode

How to format and paste vscode

There are two setting methods for formatting and pasting code in vscode:

1. Click [File] - [Preferences] - [Settings]

Input "editor.formatOnPaste": true, in setting.json

2. Search Format On Paste in [Settings] and find the following configuration

How to format and paste vscode for this setting The function is to automatically format this part of the code for us after we paste it. By manually operating the formatting function, we found that this is indeed the case

How to format and paste vscode

Recommended related article tutorials:vscode Tutorial

The above is the detailed content of How to format and paste vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!