vscode设置终端主题,设置终端选中颜色
vscode定义主题色官网:
https://code.visualstudio.com/api/references/theme-color#integrated-terminal-colors
问题:
终端选中颜色和终端背景颜色一致时,不能显示出光标选中的内容,并且网上搜索了各种主题设置,没有提到终端选中属性的颜色
解决:
通过查找vscode官方资料,找到terminal.selectionBackground属性,可以通过调整terminal.selectionBackground属性,设置终端选中内容的颜色
完整终端属性:
terminal.background: The background of the Integrated Terminal's viewport.
terminal.border: The color of the border that separates split panes within the terminal. This defaults to panel.border.
terminal.foreground: The default foreground color of the Integrated Terminal.
terminal.ansiBlack: 'Black' ANSI color in the terminal.
terminal.ansiBlue: 'Blue' ANSI color in the terminal.
terminal.ansiBrightBlack: 'BrightBlack' ANSI color in the terminal.
terminal.ansiBrightBlue: 'BrightBlue' ANSI color in the terminal.
terminal.ansiBrightCyan: 'BrightCyan' ANSI color in the terminal.
terminal.ansiBrightGreen: 'BrightGreen' ANSI color in the terminal.
terminal.ansiBrightMagenta: 'BrightMagenta' ANSI color in the terminal.
terminal.ansiBrightRed: 'BrightRed' ANSI color in the terminal.
terminal.ansiBrightWhite: 'BrightWhite' ANSI color in the terminal.
terminal.ansiBrightYellow: 'BrightYellow' ANSI color in the terminal.
terminal.ansiCyan: 'Cyan' ANSI color in the terminal.
terminal.ansiGreen: 'Green' ANSI color in the terminal.
terminal.ansiMagenta: 'Magenta' ANSI color in the terminal.
terminal.ansiRed: 'Red' ANSI color in the terminal.
terminal.ansiWhite: 'White' ANSI color in the terminal.
terminal.ansiYellow: 'Yellow' ANSI color in the terminal.
terminal.selectionBackground: The selection background color of the terminal.
vscode设置终端主题,设置终端选中颜色的更多相关文章
- mac 终端 使用 solarized 主题设置语法高亮
mac 终端 使用 solarized 主题设置语法高亮 先来看看 solarized 在 mac 终端上的效果图片 一:先下载 solarized 官网下载:https://github.com/a ...
- 如何设置linux bash终端的字符显示内容和颜色?
通常linux有1-6个字符终端 tty, 有1个图形终端. 通常用 ctrl+alt+f1 到f6是字符终端, ctrl+alt+f7为图形终端, 但是, 也有不一样的, 如: fedora的4.0 ...
- linux系统终端命令提示符设置(PS1)记录
PS(Prompt Sign)指的是命令提示符,在日常运维工作中为了方面操作管理,有时会设定PS1环境变量.废话不多说,下面开始记录下Linux中PS1设置 在/etc/.bashrc中,找到PS1变 ...
- emacs24 颜色主题设置
Emacs24 颜色主题设置 在Linux上写程序,永远绕不过的2个东西就是vi和emacs.emacs是早晚要接触的东西.本文就从配置颜色主题(color-theme)开始.用命令:$ sudo a ...
- Linux 的终端及设置
Linux 的终端及设置 终端是一种字符型设备,有多种类型,通常使用tty 来简称各种类型的终端设备.终端特殊设备文件一般有以下几种: /dev/ttySn 串行端口终端 (Serial Port T ...
- stty - 改变并打印终端行设置
总览 stty [-F device] [--file=device] [SETTING]... stty [-F device] [--file=device] [-a|--all] stty [- ...
- kali linux终端快捷键设置
kali里面是没有终端快捷键的,需要自己设置. 打开设置->设备->keyboard,拉到最下面点击加号来新建一个快捷键. 名称:打开终端 命令:gnome-terminal 快捷键:Ct ...
- phpstorm9整合本地apache和豆沙绿主题设置(附资源)
♣phpstorm9下载(安装包和注册码) ♣phpstorm9自带apache和自定义apache服务器 ♣phpstorm9豆沙绿主题设置(附我的主题包) 说明:如果还未安装apache和php7 ...
- Eclipse详细设置护眼背景色和字体颜色并导出
Eclipse详细设置护眼背景色和字体颜色并导出 Eclipse是一款码农们喜闻乐见的集成开发平台,但是其默认的主题和惨白的背景色实在是太刺激眼球了.下面,将给大家详细介绍如何设置成护眼主题的方法,也 ...
- VS2010主题设置及插件推荐
本文主要写了个人使用 VS2010 的一些配置及实用插件,从而打造一个符合个人风格的开发环境. 基础设置 安装 Visual Assist X 在 VS2010 中若不安装 Visual Assist ...
随机推荐
- 阿里云初始化,epel库,docker安装的一般步骤,和java8 升级 java11 的一些bug,无法显示验证码,等
1. 反射异常 有些反射异常,不是自己代码的错而是一些框架调用的时候,所带来的,不好处理. 用压制输出的形式,1行为压制,2行为调试模式,输出所有的报错信息.这里用java.base / java.n ...
- vue 图片下载
getBase64Image(img) { var canvas = document.createElement("canvas"); canv ...
- win11 改键盘映射
编辑注册表:按下win+r,输入regedit找到这个路径HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ Keyboard Layout ...
- 【godis】skiplist
skiplist 前言:在看代码时看到 ZSKIPLIST_MAXLEVEL = 32,当时并不了解 ZSKIPLIST_P 的作用,想着用 2 分法不应该层数是 64 吗?书上和他人的代码都是基于 ...
- C#windows 服务 《转载》
转自:https://blog.csdn.net/Code_May/article/details/123909870 c#应用Windows服务 背景 一.创建windows服务 1.创建windo ...
- python 中的 re.compile 函数
python 中的 re.compile 函数 正则表达式功能十分强大. "有些人面临一个问题时会想:'我知道,可以用正则表达式来解决这个问题.'于是现在他们就有两个问题了"- ...
- css - contenteditable
css - contenteditable contenteditable属性 contenteditable 属性是 HTML5 中的新属性.规定是否可编辑元素的内容. 让contenteditab ...
- 使用logback需要导入的jar包
jar包名 logback-access-1.1.2.jar logback-classic-1.1.2.jar logback-core-1.1.2.jar slf4j-api-1.7.25.jar ...
- Linux下查看服务器PCIE Slot槽位信息
在linux系统下,可以使用"dmidecode –t 9"或者"dmidecode –t slot"命令查看PCIE Slot的信息,如下图所示RH2288H ...
- nodejs redis执行lua脚本
const Redis = require("ioredis"); const redis = new Redis({ port: 6300, // Redis port host ...