Home > Development Tools > VSCode > What to do if html Chinese garbled code in vscode

What to do if html Chinese garbled code in vscode

藏色散人
Release: 2020-01-15 10:06:42
Original
6291 people have browsed it

What to do if html Chinese garbled code in vscode

#What should I do if the Chinese html in vscode is garbled? VSCode Chinese garbled solution

File>> Preferences>> Settings

Search:

 "files.autoGuessEncoding": false,
Copy after login

Change to:

 "files.autoGuessEncoding": true,
Copy after login

Recommended tutorial: vscode tutorial

visual studio code related introduction:

Microsoft officially announced at the Build Developer Conference on April 30, 2015 Announcing the Visual Studio Code project: a cross-platform source code editor for writing modern web and cloud applications running on Mac OS X, Windows and Linux.

The editor also integrates all the features that a modern editor should have, including syntax high lighting, customizable keyboard bindings, bracket matching ( bracket matching) and code snippet collection (snippets). Somasegar also told me that the editor also has out-of-the-box support for Git.

Visual Studio Code provides a wealth of shortcut keys. Users can use the shortcut keys [Ctrl] [K] [S] (hold down the Ctrl key and then press the K and S keys) to bring up the shortcut key panel and view all shortcut key definitions. You can also double-click any shortcut key in the panel to assign a new shortcut key to a certain function. Some predefined common shortcut keys include: Format document (organize all the code in the current view), [Shift] [Alt] [F]; Format selected content (organize the selected part of the code in the current view), [ Ctrl] [K] [F]; Zoom in, [Ctrl] [Shift] [=]; Zoom out, [Ctrl] [Shift] [-]; Open a new external terminal (open a new command line prompt): [Ctrl][Shift][C].

The above is the detailed content of What to do if html Chinese garbled code in 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