gpt4 book ai didi

css - 如何在 Notepad++ 中为 Less 添加语法高亮显示?

转载 作者:数据小太阳 更新时间:2023-10-29 09:11:06 24 4
gpt4 key购买 nike

我希望 Notepad++ 像对待 .css 文件一样对待我的 .less 文件,从而为任何 .less 文件获取语法高亮显示打开。

最佳答案

要获得 LESS 语法高亮,您必须下载并导入一个用户定义的语言文件。以下是一些语言文件的链接:

来自 GitHub repository 的安装说明:

  • Download the less.xml file
  • Open Notepad++
  • Go to Language -> Define your language..., click on Import... and select the less.xml file you've downloaded
  • Close and restart Notepad++
  • Done

另一种安装语言文件的方法是 copy them into a file in the Notepad++ installation directory .

关于css - 如何在 Notepad++ 中为 Less 添加语法高亮显示?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4913834/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com