[英]javascript 'for loop' code completion in Webstorm
Usually CTRL-SPACE does a lot of code completion actions in Webstorm. 通常, CTRL-SPACE在Webstorm中执行大量代码完成操作。 However I can't seem to find any quick code generation for 'for' loops.
但是我似乎无法为'for'循环找到任何快速代码生成。
I want something analogous to this : 我想要类似于此的东西:
Is there some reason Webstorm doesn't have this? 有什么理由Webstorm没有这个吗? Or has my googling been off.
或者我的谷歌搜索已经关闭。
You can type itin
+ ctrl+space
and your loop template will be generated. 您可以键入
itin
+ ctrl+space
然后生成循环模板。
In the autocomplete window you will see a lamp, click in it to edit you template. 在自动完成窗口中,您将看到一盏灯,单击它以编辑您的模板。
Here are some examples: http://blog.jetbrains.com/webstorm/2014/08/javascript-postfix-completion/ and http://blog.jetbrains.com/webide/2012/10/high-speed-coding-with-custom-live-templates/ 以下是一些示例: http : //blog.jetbrains.com/webstorm/2014/08/javascript-postfix-completion/和http://blog.jetbrains.com/webide/2012/10/high-speed-coding-与定制活模板/
请参阅设置/编辑器/实时模板,javascript - 有一些片段用于不同的for循环生成
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.