vscode设置终端主题,设置终端选中颜色
2024-10-15 22:04:43
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.
最新文章
- C数组下标越界
- Windows下使用Dev-C++开发基于pthread.h的多线程程序
- Android实例-处理隐藏输入法后不再显示问题(XE8+小米2)
- setTimeout的作用以及setTimeout延时0毫秒的作用
- 【错误】:Could not open JDBC Connection for transaction; nested exception is: Communications link failure;The last packet sent successfully to the server was 1 milliseconds ago
- Python获取当地的天气和随意城市的天气
- mongo数据库备份与恢复
- 菜鸟的Xamarin.Forms前行之路——按钮的按下抬起事件的监控(可扩展至其他事件)
- JS的if和switch
- 如何优化MySQL insert性能
- 网站注册与登录使用 bcrypt与 passport 双重验证 解释
- Linux学习笔记之Linux添加/删除用户和用户组
- day15,内置函数一
- 查看MySQL的线程
- SpringBoot详细研究-04部署测试与监控
- 判断真实ip
- span中内容随着数字长度的添加而增大
- vue-cli中引入jquery的方法
- maven之package与install的区别
- Building the main Guest Additions module [FAILED]