Intellij shortcuts

  • Double Shift – Search Everywhere. Quickly find any file, action, symbol, tool window, or setting in IntelliJ IDEA, in your project, and in the current Git repository.
  • Ctrl+Shift+A – Find Action. Find a command and execute it, open a tool window, or search for a setting.
  • Alt+Enter – Show Context Actions. Quick-fixes for highlighted errors and warnings, intention actions for improving and optimizing your code.
  • Ctrl+Alt+L – Reformat Code. Reformat the whole file or the selected fragment according to the current code style settings.
  • Ctrl+W /or/ Ctrl+Shift+W – Extend or shrink selection. Increase or decrease the scope of selection according to specific code constructs.
  • Alt+F7 – Find Usages. Show all places where a code element is used across your project.

Live templates (Located at Preferences =} Live templates):

Type: AnyVariable.log and hit ENTER. You should have: console.log(AnyVariable);

Actions on save

Go to: Preferences // Tools // Actions on save: // Enable “Reformat code” and “Optimize code”


  • Every year the world $500 billion is spending on advertising
  • Average human watch 40,000 ad commercial during a year; it is about 100 ad commercials during each day
  • Advertising children’s products designed for so-called “nag factor”. It inspires children to buy certain products that claim to make them better and more popular among their friends. And then it is a matter of parental patience. According to studies, the average American teenagers should ask their parents to buy the thing from advertising 9 times before they give up and agree on a purchase.
  • Scientists at York University found that American drug companies spend on advertising twice more money than on its studies.