Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to speed up WebStorm

In huge project WebStorm (it can be other product of JetBrains) is always thinking and loading something.

This is really annoying me!

like image 938
Nazar Vynnytskyi Avatar asked Apr 01 '15 10:04

Nazar Vynnytskyi


People also ask

How do I give more RAM to WebStorm?

Increase the memory heapFrom the main menu, select Help | Change Memory Settings. In the Memory settings dialog that opens, set the necessary amount of memory that you want to allocate and click Save and Restart. This changes the value of the -Xmx option used by the JVM and restarts WebStorm with the new setting.

Is WebStorm faster than PhpStorm?

P.S. Since WebStorm has different release cycle than PhpStorm, it can have new JS/CSS/HTML oriented features faster than PhpStorm (it's all about platform builds used).

Is WebStorm lighter than IntelliJ?

WebStorm is a lightweight and intelligent IDE for front-end development and server-side JavaScript. IntelliJ IDEA and WebStorm belong to "Integrated Development Environment" category of the tech stack. Some of the features offered by IntelliJ IDEA are: Smart Code Completion.


1 Answers

Here is my recipe how to speed up your lovely WebStorm:

  • Go to Preferences and do next:
    1. Appearance & Behaviour > System Settings > Updates: disable auto update
    2. Appearance & Behaviour > System Settings > Usage Statistics: Uncheck Allow sending data usage statistics to JetBrains
    3. Editor > Live Templates: disable all, leave only what you are really use
    4. Editor > Emmet: disable all emmets
    5. Editor > Intentions: I leave only: CSS, Declaration, JavaScript and Language Injection
    6. Plugins: leave only next (* - can be also disabled in case you don't need them):
      • CoffeeScript *
      • CSS Suport
      • CVS Integration
      • Git Integration
      • HTML Tool
      • IntelliLang
      • JavaScript Debugger *
      • JavaScript Intention Power Pack
      • JavaScript Support
      • NodeJS *
      • Perforce Integration
      • SASS suport *
    7. Project > Directories: Exclude all what you don't use
    8. Languages & Frameworks > JavaScript > Libraries: leave only: HTML and HTML5 / EcmaScript 5
    9. Languages & Frameworks > Compass: disable it
    10. Tools > WebBrowsers: leave only Chrome
  • Help > Edit Custom VM Options: Edit and increase usage memory pwd:

    -Xms1024m
    -Xmx1536m
    -XX:MaxPermSize=1024m
    -XX:ReservedCodeCacheSize=512m
    -XX:+UseCompressedOops

So the main idea is next: disable all in Preferences what you really don't use and increase memory for IDE.

like image 59
Nazar Vynnytskyi Avatar answered Sep 17 '22 18:09

Nazar Vynnytskyi