本文介绍了在 Visual Studio Code 中设置语法高亮的语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在混淆开始之前,这个问题是关于代码的,新的轻量级 Visual Studio 编辑器.您可以从这里获取它:
Before the confusion begins, this question is about Code, the new lightweight Visual Studio Editor.You can get it from here: https://code.visualstudio.com/
I have a textfile (.txt) with CSS in it and want to get syntax hightlighting. You can open the command palette with ++. But there you can not set syntax like in Sublime.
Is there any other way to get the CSS coloring in from my textfile?
解决方案
In the very right bottom corner, left to the smiley there was the icon saying "Plain Text". When you click it, the menu with all languages appears where you can choose your desired language.
这篇关于在 Visual Studio Code 中设置语法高亮的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!