【问题标题】:How to remove snippets from Aptana or give precedence to Emmet如何从 Aptana 中删除片段或优先考虑 Emmet
【发布时间】:2013-02-27 16:17:12
【问题描述】:

当我使用 Emmet 并按 c TAB 时,我得到的是版权而不是颜色。

我在 sn-ps 中搜索了版权一词,但没有找到相关的狙击。 我在 Preferences > Keys 下查找并搜索 Zen 或 Tab,但我不知道如何设置 Emmet 的优先级。当去 Command > HTML /CSS>Edit this bundle 注意发生

有谁知道我如何从 Aptana 中删除所有 sn-ps 或优先考虑 Emmet(Zen 编码)。

【问题讨论】:

    标签: aptana


    【解决方案1】:

    版权片段可在文本包中找到。要禁用它,请转到Commands > Text > Edit this Bundle。这将在 Project Explorer 视图中创建一个新项目。在项目内部的 sn-ps 下,有一个名为 sn-ps.rb 的文件,您可以在其中找到支持版权 sn-p 的代码。将其注释掉或删除,保存文件,然后重新启动 Aptana。 c) 不应再制作版权 sn-p。

    【讨论】:

    • 我找到了 sn-p 并偶然发现了它 s.trigger = 'copy' 但是当我按 C 选项卡时我仍然获得了版权
    • 您是否保存了文件并重新启动了 Aptana?
    • 是的,它对 c 和 cop 选项卡有反应 我在两个位置进行了编辑 E:\Users\name\Aptana Rubles E:\Users\name\.eclipse\org.eclipse.platform_3.7.0_2102077185 \configuration\org.eclipse.osgi\bundles\98\1\.cp\bundles
    猜你喜欢
    • 2021-03-26
    • 1970-01-01
    • 2011-03-09
    • 2021-11-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-19
    • 1970-01-01
    相关资源
    最近更新 更多