【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环境

相关推荐
摇滚侠5 小时前
帮我整理一份 IDEA 开发中常用快捷键
java·ide·intellij-idea
dyxal7 小时前
VS Code 终端疑难杂症排查:为什么 PowerShell 无法启动?
vscode
【ql君】qlexcel7 小时前
Visual Studio Code开发STM32设置头文件宏定义uint32_t报错
vscode·stm32·vs code·头文件宏定义·uint32_t报错·uint8_t报错·uint16_t报错
琉璃榴7 小时前
Visual Studio Code连接远程服务器
服务器·vscode·github
HuDie3409 小时前
agent项目实操笔记
ide
jieyucx9 小时前
Golang 完整安装与 VSCode 开发环境搭建教程
开发语言·vscode·golang
梦魇星虹10 小时前
idea Cannot find declaration to go to
java·ide·intellij-idea
xifangge202510 小时前
【故障排查】IDEA 打开 Java 文件没有运行按钮(Run)?深度解析项目标识与环境配置的 3 大底层坑点
java·ide·intellij-idea
Codiggerworld12 小时前
Vim的语法:删除、复制、粘贴,像说话一样自然
编辑器·vim·excel
刘延林.12 小时前
Visual Studio Code+PlatformIO + ESP32-S3 + Arduino 框架点亮一个小的led灯-测试
ide·vscode·编辑器