WebStorm IDE 的高效使用
我最近爱上了 WebStorm 作为 JavaScript 开发的 IDE。问题是,我来自 vim 和轻量级编辑器的世界,所以我可能无法完全理解 IDE 带来的所有功能。是的,我已经看过演示文稿并阅读了文档,但是有很多功能,我不确定其中哪些功能真正有用。
那么,我的问题是:您如何使用 WebStorm?您认为什么最有用?有什么用电技巧吗?配置黑客?值得一提的插件?
我不是在寻找功能列表,而是在寻找真实的使用示例和印象。
附言。我主要使用纯 JS + Canvas 元素和一些 NodeJS。
I've recently fallen in love in WebStorm as an IDE for JavaScript development. The problem is, I come from a world of vim and lightweight editors, so I probably can't fully appreciate all the power that comes with IDE. Yes, I've seen the presentations and read the docs, but there's a lot of features and I'm not sure which of them are truly useful.
So, here goes my question: how do you use WebStorm and what do you find most useful? Any power-usage tips? Configuration hacks? Plugins worth mentioning?
I'm not looking for a list of features, I'm looking for a real-world usage examples and impressions.
PS. I work mostly with pure JS + Canvas element and some NodeJS.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一些随机的想法,也许稍后会更多......
在帮助中,一定要阅读基本概念并浏览 WebStorm 使用指南以了解您关心的操作。
学习使用 Ctrl-Shift-A。它允许您通过键入其中的一部分来快速找到可以执行的操作。有了它,一旦你知道任何东西存在,你就可以找到它。
WebStorm(与 IntelliJ 一样)最大的魔力是它的代码补全和重构功能,这些功能来自于它的代码解析和感知。它可以解决很多问题,但是您可以通过拥有良好的源文件来帮助它。将您在项目中使用的库的注释版本放在项目中,以便它可以使用这些注释显示在文档弹出窗口中(只需将它们放在目录中即可)。
请务必保留提示。
他们的论坛很有用,但如果您有问题或功能请求,请将其直接放入 youtrack.com。他们在那里反应更快。您还可以为您想要添加的内容投票。
如果您还没有见过,有一个 VIM 插件可以为您提供 VIM 编辑器密钥,名为 IdeaVim 。
Some random thoughts, maybe more later....
In the help, definitely read the Basic Concepts and skim the WebStorm Usage Guidelines for actions that you care about.
Learn to use Ctrl-Shift-A. It allows you to 1uickly find actions you can do by typing part of them. With that you can find anything once you know it exists.
WebStorm's (like IntelliJ) best magic is its code completion and refactoring features, which come from its code parsing and awareness. It figures a lot of stuff out, but you can help it out by making you have good source files. Put the commented versions of the libraries you use in your project so it can use those comments to display in the doc popups (just having them in the directory is all you need).
Be sure to leave the tips on.
Their forums are useful, but if you have a problem or feature request put it right into youtrack.com. They are much more responsive there. You can also vote for the stuff you want added.
And if you haven't seen it yet, there is a VIM plugin which will give you VIM editor keys, called IdeaVim.
我发现最有用的功能:
代码格式化。 WebStorm 的格式化程序是我见过的最好的(当然,它仍然存在一些细微的错误)。
内置 HTTP 服务器: http://blog.jetbrains.com/webstorm/2013/03/built-in-server-in-webstorm-6/,如何使用 WebStorm 中的内置 Web 服务器打开/调试当前文件?
JsTestDriver 集成.
插件。您总能找到有用的东西。
Features I find most useful:
Code formatting. WebStorm's formatter is the best I've seen (of course, it still has some subtle bugs).
Built-in HTTP server: http://blog.jetbrains.com/webstorm/2013/03/built-in-server-in-webstorm-6/, How to open/debug current file using built-in Web server in WebStorm?
JsTestDriver integration.
Plugins. You can always find something useful.