gpt4 book ai didi

macros - 从 textmate 包宏中排除文件类型

转载 作者:行者123 更新时间:2023-12-04 06:40:06 26 4
gpt4 key购买 nike

我想知道如何对 TextMate 包进行编码以及如何从某个包中排除文件。

你能回答my comment on this textmate whitespace bundle issue中的问题吗? ?

最佳答案

转到包 -> 包编辑器 -> 显示包编辑器
展开 Uber Glory 包并选择将制表符转换为空格...
在标记为范围选择器的字段中,输入 - text.html.markdown
这应该对文件进行以下添加:/Macros/Convert Tabs to Spaces, Strip whitespace, save.tmMacro

@@ -51,6 +51,8 @@
<string>@s</string>
<key>name</key>
<string>Convert Tabs to Spaces, Strip whitespace, save</string>
+ <key>scope</key>
+ <string>- text.html.markdown</string>
<key>uuid</key>
<string>D6844EF1-342B-46D9-A687-CB402F7F4209</string>
</dict>

注意:如果您希望通过编辑文件进行更改,请确保选择 Bundles -> Bundle Editor -> Reload Bundles

关于macros - 从 textmate 包宏中排除文件类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4364415/

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