WebStorm macOS centric notes, tips and tricks - mhulse/mhulse.github.io GitHub Wiki

Install the toolbox!

Use this to install any JetBrains app; have it uninstall your old/manually-installed JetBrain apps.

You can use this to launch projects and set some prefs, like:

Syncing settings

There are a couple of ways to do this:

  1. IDE Settings Sync (my choice, as this syncs more than the following …)
  2. Settings Repository

Theme

Material Oceanic, with contrast mode enabled.

This theme uses FiraCode font … Be sure to enable ligatures.

I upped the font size to 18 and line height to 1.2 (Preferences > Editor > Font)

Optimizations and tweaks

Speed things up

Navigate to Help > Edit Custom Properties… and add: editor.zero.latency.typing=true

Navigate to Help > Edit Custom VM Options… and modify the -Xmx setting to be 3000m (this bumps the max heap size to 3 gigabytes).

Show hidden (dot)files

Preferences > Editor > File Types, and change “Ignore files and folders” from:

*.hprof;*.pyc;*.pyo;*.rbc;*.yarb;*~;.DS_Store;.git;.hg;.svn;CVS;__pycache__;_svn;vssver.scc;vssver2.scc;

… to:

.DS_Store;

Useful keyboard shortcuts

Print the key map.

Safe refactorings

To rename a variable or extract a function and see the available refactorings on a symbol: Ctrl + T

Live templates and Emmet

Type an abbreviation, e.g. iter in JavaScript or img in HTML, and hit TAB to expand it into a code snippet.

Search Everywhere

Navigate to files, classes, symbols and even settings with: Shift + Shift

Preview the usages of a symbol

ALT + CMD + F7

Atom-like command palette

CMD + SHIFT + A

Navigate to definition

CTRL + CLICK

Quick fixes

OPTION + ENTER to see the available quick-fixes.

My after-market installed plugins

To get the following list, navigate to Preferences > Plugins > Installed, select all using CMD + A and copy using CMD + C:

BashSupport (1.7.4)
CodeGlance (1.5.4)
Material Theme UI (3.5.0.1)
Nyan Progress Bar (1.12)
PostCSS support (183.3795.1)
QuickJump (4.3)
Rainbow Brackets (5.16)
String Manipulation (6.1.143.000.0)

Links

⚠️ **GitHub.com Fallback** ⚠️