I`m new to phpStorm and it is simply awesome IDE but i have the following problem.
I have manage to connect to local database via data sources and wanted to test the Auto-completion for MySQL queries.
It actualy works but it doesnt pick up right away. I have to type 2-3 words of my query for phpStorm to recognize that I am typing a query.
$result = $mysql-> query('Select id, username, pass from users');
Untill i get after "from" it doesnt understand that i`m writing a MySQL query and it doesnt autocompletes for me...
After that it works fine but it is a big problem for me.
Is there a way to tell phpStorm that i`m writing a query? What am i doing wrong?