gpt4 book ai didi

sublimetext2 - Sublime Text 2 : Recognize Makefile. 本地作为 Makefile

转载 作者:行者123 更新时间:2023-12-04 23:58:32 25 4
gpt4 key购买 nike

如何配置 Sublime Text 2 以识别名为 Makefile.local 的文件作为 Makefile,所以当我打开这个文件时,我不必手动执行“设置语法:Makefile”?

最佳答案

添加标签 <string>Makefile.local</string><array> 中的部分Makefile.tmLanguage 文件。

<dict>
<key>fileTypes</key>
<array>
<string>Makefile.local</string>
<string>GNUmakefile</string>
<string>makefile</string>
<string>Makefile</string>
<string>OCamlMakefile</string>
<string>make</string>
</array>
<key>name</key>
...

要查找文件,请单击 Preferences | Browse Packages...菜单。

该文件可用于更改更多 Syntax Definition选项。

关于sublimetext2 - Sublime Text 2 : Recognize Makefile. 本地作为 Makefile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13566898/

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