Regex replace uppercase with lowercase letters in PhpStorm/Webstorm (Intellij-IDEA)

First open Find and Replace functionality with CTRL + R and then check the boxes Match Case and Regex (and if necessary In Selection): 1. To replace camelCase to snail_case as in in the question: find: ([A-Z]) replace: _\l$1 someThing -> some_thing 2. To replace UPPERCASE words to lowercase words use \L find: (\w*) replace: … Read more

How to hide .js and .map files in WebStorm while working on Angular2-typescript project

When using WebStorm without the built-in TypeScript Compiler (e.g. because you are running an Angular2 project with their npm start script which does the compiling already) and the other method doesn’t work, you can configure your own filtered “Project” panel for WebStorm: Select Project Files section of the side panel (Project section does not offer … Read more

How to configure DB Navigator for Jetbrains PHPStorm and WebStorm

Instructions Install DB Navigator Plugin via menubar >> Settings >> Plugins >> Available-Tab Download MySQL jdbc connector from here >> http://www.mysql.com/downloads/connector/j/ Unpack MySQL jdbc connector to a directory of your choice Restart PHPStorm / WebStorm Add a DB via menubar >> DB Navigator >> Settings >> Connection-Tab >> Plus-Button Enter the parameters for your connection … Read more

Value assigned to primitive will be lost

There’s nothing improper in your code, WebStorm’s type inference is getting a bit confused (this aspect of JavaScript is particularly confusing). Its linter sees a string and assumes you will try something like this: var primitive = “september”; primitive.vowels = 3; primitive.vowels; // => undefined Which would lead to a ‘lost’ value. The fact that … Read more

Soft wrap by Markdown only

It’s 2019, and users of JetBrains apps now have automatic soft-wraps for Markdown documents – rejoice! 🎉🎊🥳 Alas it is not enabled by default, so you’ll need to visit your preferences and check a box: On WebStorm 2019.2 at least, navigate to Editor > General > Soft Wraps and click your way to Markdown-soft-wrap bliss.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)