【问题标题】:How can I type console.log('') or Ti.API.info('') in titanium by hitting single key如何通过单击单键在钛中键入 console.log('') 或 Ti.API.info('')
【发布时间】:2015-06-17 03:06:39
【问题描述】:

我厌倦了在我的代码中多次编写 console.log('') 或 TI.API.info('') 然后多次删除它。

Titanium 中是否有一个设置,我可以点击 Alt + C 之类的快捷键,这会在我的代码 sn-p 中写入控制台语句。

提前致谢。

【问题讨论】:

    标签: titanium titanium-mobile appcelerator titanium-alloy appcelerator-mobile


    【解决方案1】:

    写入inf,然后按Control + 空格键将打印Ti.API.info('')

    按 cmd + d 将删除当前行。

    更多信息请查看Link1Link2Link3

    【讨论】:

      猜你喜欢
      • 2020-10-11
      • 1970-01-01
      • 1970-01-01
      • 2020-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-17
      • 2018-05-30
      相关资源
      最近更新 更多