WebStorm 2020.2: Use Prettier as the Default Formatter
Angular component navigation doesn’t work anymore in Webstorm IDE
Please try invalidating caches (File | Invalidate caches, Invalidate and restart) – does the problem persist? Do you have @angular node_modules installed and included in project?
Also try reinstall npm packages:
npm install
Set Prettier as default formatter in WebStorm
Source: Prettier—WebStorm
Webstorm keyboard shortcuts
Smart navigation in opened file:
Alt+7 – Structure window (current code file)
Ctrl+F12 – Search for symbols in file.
Awesome Console – plugin for IntelliJ IDEs | JetBrains
With this plugin all files and links in the console will be highlighted and can be clicked. Source code files will be opened in the IDE, other links with the default viewer/browser for this type.
Source: Awesome Console – plugin for IntelliJ IDEs | JetBrains
Set git bash as Webstorm terminal
Go to File -> Settings -> Tools -> Terminal and change Shell path based on the the installed git version.
for 64bit:
"C:\Program Files\Git\bin\sh.exe" --login -i
for 32bit:
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
intellij/webstorm ide – View variable value by hovering mouse over it in debug
Go to Preferences > Build, execution, deployment > Debugger > Data Views and enable show value tooltip on code selection.
Source: intellij idea – View variable value by hovering mouse over it in debug – Stack Overflow
Setup private SSH key for WebStorm and other IDEs in Windows
I had a problem pushing commits to Bitbucket inside Webstorm “no access” or similar error when trying to push.
I usually use Sourcetree together with Putty Pageant loaded with the putty specific SSH file format ppk. So the solution was to convert the private putty ppk file into OpenSSH file format using PuTTygen.
Then save that file into %userprofile%\.ssh\id_rsa
(id_rsa is the open ssh file name, no extension).
It made it possible for Webstorm to push to Bitbucket.
Follow these steps to convert from ppk to OpenSSH:
- Run the puTTygen program.
- Click Load.
- Select your private key that ends in .ppk and then click Open.
- Click the Conversions menu option.
- Click Export OpenSSH key.