srakapsychic.blogg.se

Webstorm keyboard shortcuts
Webstorm keyboard shortcuts






  1. #Webstorm keyboard shortcuts how to#
  2. #Webstorm keyboard shortcuts software#
  3. #Webstorm keyboard shortcuts code#

Moreover, if you start typing, it will perform a search and select the line you were looking for. Basically, it shows a popup with all objects and respective members associated with a file. Find members in current file: Cmd + F12Įasily on of my top three favorite shortcuts, this one emulates Cmd + Shift + O in Chrome Inspector. Instead of the accustomed Cmd + V for paste, add Shift to the combination and a dialog pops up, offering the options.ġ0. Paste from five previous copies – Cmd + Shift + Vĭoes the OS default one slot in memory for copy-paste satisfy you? IDEA tracks your last five copies and allows you to chose from them when pasting. If you haven’t already, try it out, it’s a gem. It goes like that long ways through history, and even switches open files for you. It doesn’t delete anything, as Backspace may imply, it just shifts the caret over to the position of last change.

webstorm keyboard shortcuts

In such situations, I find this shortcut very useful. The effect is stronger when editing someone else’s code. When editing huge files, and I mean many at the same time, it can get difficult to navigate through the maze of code. Cycle through the history of most recent changes: Cmd + Shift + Backspace

#Webstorm keyboard shortcuts code#

So hit shortcut and press enter for a quick and smart code reformat. In such case, selecting a code area and hitting the shortcut will automatically offer to reformat selection. when concatenating arrays of html strings). In some situations, you may need to omit parts of code (e.g.

webstorm keyboard shortcuts

It can be a selection, file, or even entire project. Pressing Option + Cmd + L will politely ask you which section you want to reformat. Walk through the tabs offered and set the style that best match your desired behavior. It is even capable of learning from your documentation blocks.Īlthough Cmd + W defaults to close tab/window in most applications (and so it did in IDEA Code Style – > Your Language. Useful when you need to remember argument options when calling a method, this shortcut will pull up a callout with the information you need. Argument documentation for method calls: Cmd + P Here we’re skipping the dialog and agreeing immediately. Most of us have trained our eyes to find a short little word that begins with an Y – Yes. You know how deletions are frequently followed by a confirmation dialog? “Are you sure you want to delete this item?” and similar. Here’s how I remember that it’s Y and not another key, D for example. Simply place caret at the line you want out of your project and push Cmd + Y. No need to get your hands off of keyboard to reach for the mouse, or use extra shortcuts to select a line + Backspace. They will help you more than you can imagine, others even more.Īnother no-brainer very useful. Please use line comments and documentation blocks as much as possible. I don’t think I can stress the importance of documentation in code. Read more about it here on his blog post. If you place it above a method, the block will be populated with argument params, which can be tremendously useful.ĮDIT: Denis Zhdanov of JetBrains pointed out a great new feature shipped as of v12, “Fix Doc Comment”.

webstorm keyboard shortcuts

Voila, IDEA will automagically create a documentation block for you. After you create a member, go one line above it and type /** followed by a press on the Enter key. Not quite a keyboard shortcut, this one is more of a code completion helper. Refer to the figure below for comparison.ģ. While line commenting is quicker, here you can be much more precise and more creative with comments. Similar to line commenting, this shortcut will surround the current selection. (Un)Comment selection: Shift + Control + / A good thing to know is that caret will move to the next line automatically, allowing multiple lines to be commented out at once.Ģ.

#Webstorm keyboard shortcuts how to#

Even cooler, the editor will know how to uncomment lines, even when commented out manually. Instead of going to the beginning of line and manually typing //, Cmd+L will do that for us. Transforming the current line into comment is essential in bug tracking.

#Webstorm keyboard shortcuts software#

Features that could easily boost my productivity in a piece of software I spend so much time with. Visiting other options opened my eyes for new features to look for.

webstorm keyboard shortcuts

Weeks, or even months later, I came back to IDEA, realizing that it has virtually all features found elsewhere, and it felt a bit more robust. Even more so, I was so close to ditching IDEA (or rather Web Storm) for Sublime Text 2 due to the cool features available through its plugin mechanism. All impressed me with their own unique features. In 2012 I spent quite some time giving other IDEs a chance. I can’t say I’m a shortcut junky, but knowing a few make my life a whole lot easier. Another way to boost productivity is learning how to use the assets we already own, such as IntelliJ IDEA. When we need to get productive, we often invest money in new gadgets, software, or even a new computer.








Webstorm keyboard shortcuts