如何更改VSCode Jupyter Notebook的单元格背景颜色? [英] How to change cell background colour of a VSCode Jupyter Notebook?

查看:528
本文介绍了如何更改VSCode Jupyter Notebook的单元格背景颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道什么是JSON设置来更改VSCode Jupyter Notebook单元格的背景颜色.

I would like to know what is the JSON setting to change the background colour of a VSCode Jupyter Notebook cell.

我找到了 VSCode主题颜色参考,但是我找不到执行此操作的特定设置.

I found the VSCode Theme colour reference but I can't find the specific setting to do so.

我找到了完美的色彩主题,但我想对背景色单元进行一些调整.

I found the perfect colour theme but I would like to tweak the background colour cell just a bit.

推荐答案

对于那些感兴趣的人,设置为:

For those interested the setting is:

"editorWidget.background":#ff0000",

要找到它,请从我运行的命令面板中进行:开发人员:从当前设置生成颜色主题

To find it, from the command palette I ran: Developer: Generate Color Theme from Current Settings

这将创建一个新的json文档,其中包含当前受当前主题影响的所有元素,从那里我搜索所有出现的十六进制颜色,直到找到匹配的设置.

This will create a new json document with ALL the elements currently affected by your current theme, from there I search for all the occurrences of the hex colour until I found the matching setting.

这篇关于如何更改VSCode Jupyter Notebook的单元格背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆