【vscode篇】1-VScode设置语言为中文,2-解决中文注释乱码问题。

设置语言为中文

在前端开发中,Visual Studio Code(简称vscode)是一个非常好用的工具,但第一次打开vscode会发现界面为英文,这对很多开发者来说会很不友好(比如我),把界面设置成中文只需要安装一个插件即可,下面是步骤。

  1. 打开vscode,界面如下,在顶部的搜索栏输入"ext install"
  1. 点击回车
  1. 左侧栏如下,输入chinese,搜索,选择简体中文
  1. 安装即可
  1. 安装成功后,右下角有提示:change chinese. restart 。

点击后 vscode重启,修改成功。

解决中文注释乱码问题

1/右下角>设置

2/在出现的搜索设置输入框搜索:Files.autoGuessEncoding,按回车键确定。

3/Files:encoding

4/这里选择 utf-8,保存即可。

vscode修改整个程序的字体(包括左侧文件列表)

点击:字体>在 setting.json 中编辑

配置如下

复制代码
{
    "editor.minimap.enabled": false,
    "editor.fontSize": 12,
    "editor.fontLigatures": false,
    "editor.fontWeight": "normal",
    "debug.console.fontSize": 12,
    "window.zoomLevel": 1.1//整个程序字体大小
}

4- vscode不显示隐藏文件

5-vscode python程序引入其他文件的方法后,执行提示没有对应的模块

6-vscode配置python环境

相关推荐
bkspiderx2 天前
在Visual Studio中安装与配置Qt插件(Qt Visual Studio Tools)
ide·qt·visual studio·qt插件
lusklusklusk2 天前
使用Visual Studio一步步创建并部署SSRS_PBIRS报表:数据源配置、图表设计、参数化查询、部署参数与排错实战
数据库·ide·visual studio
解道Jdon3 天前
Rust重写OpenCode Rune:性能提升最高100倍
ide·windows·git·svn·eclipse·github·visual studio
莫卢俊德3 天前
vscode ssh config
ide·vscode·ssh
郝学胜-神的一滴4 天前
Effective Python 条款44:善用属性注解
开发语言·c++·vscode·python·算法·stl
BD_Marathon7 天前
安装Jupyter notebook
ide·python·jupyter
讓丄帝愛伱8 天前
Zed Markdown 预览不能铺满全屏的原因及解决
ide
FungLeo9 天前
FengCMS · PHP+MySQL 升级实录 · 编辑器迁移:KindEditor → wangEditor5 +服务端 HTML Purifier
mysql·编辑器·php·富文本编辑器·fengcms
BD_Marathon9 天前
Jupyter魔法命令
ide·python·jupyter
郝学胜-神的一滴10 天前
Effective STL 条款 07:指针容器销毁前先删除
开发语言·c++·vscode·leetcode·rpc·visual studio