vscode护眼绿+python环境搭建
0 环境
- 系统:win10
- 编辑器: vscode
- python相关:python+anaconda安装好
1 护眼绿
1 安装Atom One Light Theme插件(重启vscode)
2 settings.json配置
若点击settings.json后界面不是空白且最外层有{} 则直接将下面代码最外层的大括号去掉 在cv进去 否则全部cv进来
{
// 字体大小设置
"editor.fontSize": 20,
// 界面放大/缩小
"window.zoomLevel": 2,
"workbench.colorCustomizations": {"[Atom One Light]": {"foreground": "#519657","editor.background": "#c8e6c9","editor.lineHighlightBackground": "#dcedc8","editor.selectionBackground":"#f0f4c3","editorWidget.background": "#c8e6c9","editorHoverWidget.background":"#c8e6c9","editorHoverWidget.border":"#a5d6a7","editorLineNumber.foreground": "#a5d6a7","editorWhitespace.foreground": "#a5d6a7","editorIndentGuide.background": "#c8e6c9","editorIndentGuide.activeBackground": "#a5d6a7","editorSuggestWidget.background": "#c8e6c9","editorSuggestWidget.border":"#a5d6a7","editorSuggestWidget.foreground": "#338a3e","editorSuggestWidget.highlightForeground": "#338a3e","editorSuggestWidget.selectedBackground": "#a5d6a7","activityBar.background": "#c8e6c9","activityBar.foreground": "#519657","activityBarBadge.background": "#519657","activityBarBadge.foreground": "#FFFFFF","editorLineNumber.activeForeground": "#519657","input.background": "#c8e6c9","input.border": "#c5e1a5","focusBorder": "#c5e1a5","sideBar.background": "#c8e6c9","sideBarSectionHeader.background": "#c8e6c9","tab.activeBackground": "#c8e6c9","tab.activeForeground": "#519657","tab.inactiveBackground": "#c8e6c9","tab.inactiveForeground": "#97b498","tab.border": "#c8e6c9","badge.background": "#519657","statusBar.background": "#c8e6c9","statusBar.foreground": "#519657","statusBarItem.hoverBackground": "#dcedc8","statusBar.noFolderBackground": "#519657","statusBar.debuggingBackground": "#519657","statusBar.debuggingForeground": "#00701a","debugToolBar.background": "#a5d6a7","editorGroupHeader.tabsBackground": "#c8e6c9","button.background": "#519657","button.foreground": "#FFFFFF","button.hoverBackground": "#519657","extensionButton.prominentBackground": "#3BBA54","extensionButton.prominentHoverBackground": "#4CC263","scrollbar.shadow":"#a5d6a7","scrollbarSlider.background":"#a5d6a7","scrollbarSlider.hoverBackground":"#81c784","scrollbarSlider.activeBackground":"#81c784","list.activeSelectionBackground":"#dcedc8","list.activeSelectionForeground":"#519657","list.inactiveSelectionBackground":"#dcedc8","list.inactiveSelectionForeground":"#519657","list.hoverBackground":"#dcedc8","list.highlightForeground":"#dcedc8","gitDecoration.modifiedResourceForeground": "#00600f","dropdown.background":"#c8e6c9","dropdown.border":"#c5e1a5","titleBar.activeBackground": "#c8e6c9","titleBar.activeForeground": "#519657","titleBar.inactiveBackground": "#c8e6c9","titleBar.inactiveForeground": "#519657"},},"editor.tokenColorCustomizations": {"[Atom One Light]":{"comments": "#97b498","strings": "#519657","functions": "#7e57c2","keywords": "#ab47bc","variables": "#e57373","textMateRules": [{"name": "Comment","scope": ["comment"],"settings": {"foreground": "#97b498","fontStyle": ""}},{"name": "[VSCODE-CUSTOM] PHP Punctuation Variable Definition","scope": "punctuation.definition.variable.php","settings": {"foreground": "#e57373"}},]}}
}
2 python
我没用python的虚拟环境 因为变动少(懒) 我直接默认配好(下面文章参考) 可以尝尝鲜pylance插件
Python in VS Code:环境配置
Python in VS Code:调试中开发
1 插件的安装
- 必安装的插件
Code Runner - 我常用的插件(不重要 可不装)
2 settings.json配置
前提 你的python 可以跑了
"code-runner.executorMap": {// "python": "$pythonPath -u $fullFileName","python": "set PYTHONIOENCODING=utf8 && python",
},
vscode护眼绿+python环境搭建相关推荐
- VScode安装与python环境搭建
VScode安装与python环境搭建 1. vscode安装包在VsCode安装包下载,直接下载安装即可(建议安装在非中文路径) 2. 安装后启动vscode,需要再安装三个插件,安装后需要重启软件 ...
- 「Python入门」python环境搭建及VScode使用python运行方式
活动地址:CSDN21天学习挑战赛 文章目录 前言 一. python环境搭建 1.1 python下载安装 1.2 python安装 1.3 python环境变量配置 1.4 python版 ...
- pycharm conda 环境 切换 linux_【Python专题(一)】python环境搭建
前言 近几年python搭上了机器学习,人工智能的快车道,发展的如火如荼.不止是互联网,现在金融.国企甚至公务员朋友都有学python的计划.虽然我们也发现不管是微信朋友圈还是百度搜索,总是能看到各 ...
- 利用 Windows 子系统 Linux(WSL)开发 Python 环境搭建
利用 Windows 子系统 Linux(WSL)开发 Python 一.启用适用于 Linux 的 Windows 子系统 二.安装 Linux 分发版 三.安装并配置 Visual Studio ...
- ESP32 ESP-IDF开发环境搭建,Windows下基于ESP-IDF | Cmake | VScode插件的 ESP32 开发环境搭建
之前的一篇博客 Windows上基于ESP-IDF搭建ESP32开发环境 发布后,深受好评.几个月过去了,乐鑫的esp-idf-tools安装工具发生了较大的变化,VsCode插件的功能也愈加完善 ...
- 千锋Python环境搭建大全
千锋互联作为中国IT培训的领军品牌,一直把握技术趋势,给大家带来最新的技术分享! 千锋互联python主流开发环境免费分享视频文档中,就有写一个helloworld程序的示范.火速前来下载吧 所谓&q ...
- PyCharm基本配置:设置绿色护眼绿豆沙背景等
人工智能 pycharm,python PyCharm基本配置:设置绿色护眼绿豆沙背景等 1. PyCharm设置绿色护眼绿豆沙背景 2. 其他颜色设置 1)设置光标所在行背景色 2)设置选中后颜色 ...
- 第1章 Window下VSCode的C语言开发环境搭建 (一)
文章目录 文档视频讲解链接地址 第01章 开发环境搭建 1.1 C语言开发环境搭建 1. 常用的C语言开发环境介绍 VC++ 6.0 VS 2019 Clion DevC++ vim编辑 VSCode ...
- python环境搭建需要装几个软件_python的发展前景及python环境搭建
python的前景 Python是一门面向对象的编程语言,编译速度超快,从诞生到现在已经20来个年头了.Python的排名从去年开始就借助人工智能持续上升,Python的火热,也带动了工程师们的就业热 ...
最新文章
- 美国新规:自动驾驶车,从此不需要驾驶位了
- leetcode 122 买卖股票的最佳时机II
- android模糊查询listview数据_ListView的简单应用(一)
- Google瓦片地图算法解析
- Direct2D教程(九)渲染位图
- WPF最大化避免覆盖任务栏
- Run service in specified proxyPort via jettyrun
- C# 串口操作系列(5)--通讯库雏形
- 12999元!小米MIX FOLD致敬未来尊享礼盒上线:限量100套 想买先抽签
- 分布式CAP原理:一致性、可用性、分区容错
- Linux系统启动过程分析 -转
- python实现一个简单的tftp客户端
- 国产电影凭什么霸屏电影院?
- SAP ABAP BDC调用
- voip系统与网络电话
- 支付宝支付开发—当面付条码支付和扫码支付
- vue项目json格式化显示
- 工具类 - 生成6位短信验证码
- SQL注入--利用cookie进行注入
- IIS 服务器常见漏洞