本文介绍了如何将 jupyter notebook 颜色主题融入 vs 代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将 Jupyter notebook 颜色主题添加到 vs code 我不想在 vs code 中打开 jupyter notebook 我知道这一点,但我想知道如何在 jupyter notebook 中的 vs code 中获得类似的颜色主题.我查看了 vs 代码市场,看看是否有任何扩展可以使 vs 代码颜色主题,如 jupyter notebook,但没有.

how to get Jupyter notebook colour theme into vs code I dont want to open jupyter notebook in vs code I know that but I wanted to know how can I get similar colour theme in vs code which is there in jupyter notebook. I checked into vs code market place to see if there is any extension which can make vs code colour theme like jupyter notebook but there wasn't any.

推荐答案

笔记本单元格的一些新颜色选项刚刚添加到 v1.47.请参阅 https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_47.md#notebooks

Some new color options for notebook cells were just added to v1.47. See https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_47.md#notebooks

notebook.cellBorderColor:笔记本单元格的边框颜色

notebook.cellBorderColor: The border color for notebook cells

notebook.cellHoverBackground:单元格悬停时的背景色

notebook.cellHoverBackground: The background color of a cell when the cell is hovered

notebook.cellInsertionIndicator:笔记本单元格插入指示器的颜色

notebook.cellInsertionIndicator: The color of the notebook cell insertion indicator

notebook.focusedCellBackground:单元格聚焦时的背景色

notebook.focusedCellBackground: The background color of a cell when the cell is focused

notebook.focusedCellBorder:单元格聚焦时单元格上下边框的颜色

notebook.focusedCellBorder: The color of the cell's top and bottom border when the cell is focused

notebook.focusedCellShadow:单元格聚焦时单元格阴影的颜色

notebook.focusedCellShadow: The color of the cell shadow when cells are focused

notebook.focusedEditorBorder:笔记本单元格编辑器边框的颜色

notebook.focusedEditorBorder: The color of the notebook cell editor border

notebook.cellEditorBackground :在 vscode v1.59 中添加

notebook.cellEditorBackground : added in vscode v1.59

这篇关于如何将 jupyter notebook 颜色主题融入 vs 代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 08:44