Visual Studio Code 中不同语言的不同主题 [英] Different themes for different languages in Visual Studio Code

查看:35
本文介绍了Visual Studio Code 中不同语言的不同主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试寻找这个问题的答案,但结果是空白.

I've tried searching for the answer to this but am coming up blank.

在 sublime text 中,可以为首选项文件中指定的不同文件类型使用不同的主题.例如,您可以为 Markdown/纯文本文件使用浅色主题,为所有其他语言使用普通的 Monokai 类型主题.我发现这非常有用,因为与编码相比,我更喜欢在打字时使用不同的字体和设置.

In sublime text, it's possible to have different themes for different file types as specified in the preferences file. For example, you can have a light coloured theme for Markdown/Plain text files and a normal Monokai type theme for all other languages. I find this very useful as I prefer to have different fonts and settings when typing compared to when coding.

据我所知,VSCode 中不存在此功能.我错了还是有办法实现上述目标?

As far as I can see, this functionality isn't present in VSCode. Am I wrong or is there a way to achieve the above?

推荐答案

现在可以使用来自 Julien Saulou 的名为Theme by language"的扩展.可以从 Visual Studio Code Marketplace 下载.

It's now possible to do using an extension called "Theme by language" from Julien Saulou. It can be downloaded from Visual Studio Code Marketplace.

这篇关于Visual Studio Code 中不同语言的不同主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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