app • Jetbrains Webstorm - martindubenet/wed-dev-design GitHub Wiki
Webstorms's useful shorcuts
| Description | Key combination |
|---|---|
| Comment the line | [Ctrl]+[/] |
| Comment the (multi-line) selection | [Ctrl]+[/]+[Shift] |
| Settings (preferences) | [Ctrl]+[Alt]+[S] |
| Terminal window | [Alt]+[F12] |
| VCS: git Pull | [Ctrl]+[T] |
| VCS: git Commit | [Ctrl]+[K] |
| VCS: git Compare | [Ctrl]+[D] |
Customized shortcuts
- Open the Settings window
[Ctrl]+[Alt]+[S]and go toKeymap(2nd from the left meanu). - Search for an available action from the list.
- Click it and chose
Editfrom the contextual menu. - Then do your desired key combination on the keyboard.
- Click
ApplyandSave.
| Keymap | Key combination | Description |
|---|---|---|
| Select in Project View | [Alt]+[V] |
Show the active file in the Project view |
Plugins
Webstorms's required settings for projects
The following settings for Webstorm 2017.1.4 are based on workstation requirements by Videotron.com TI Web front-end dev team.
Specifying path to ESLint package correctly
- Open Webstorms's Terminal window
[Alt]+[F12].
No need to change directory, it should open within you project's root directory.
- Type command line
npm install eslint --save-dev - Open the Settings window
[Ctrl]+[Alt]+[S]. - Go to Languages and Frameworks ➥ JavaScript ➥ Code Quality ➥ ESLint.
From the ESLint setting window
- Check the Enable option.
- Specify the path to the
../node_modules/eslintthat you just installed in the project with the command line (step 2 above).