Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在JavaScript 气泡项目中有一个自定义片段, snippets.rb。重新启动 Aptana 后,我可以在片段视图中看到我的定义,但这是唯一的触发器。如何启用键盘触发器。double click
double click
我想我找到了原因。我确实s.trigger="log"在snippets.rb文件中定义了一行,但我忘记在 中添加定义console_log: "Console log",PROJECT/config/locales/en.yml这是启用键盘快捷键的方法。
s.trigger="log"
snippets.rb
console_log: "Console log"
PROJECT/config/locales/en.yml