SQL Formatting not working when in PHP? Follow
Hello,
I'm trying but I'm unable to format the SQL code when it's in PHP file, is that normal?
https://jmp.sh/Kez0Ckk
I would like it to be something like this
https://jmp.sh/w0ygqKT
I understand it's basically a string so it's not recognized as mysql, is there a way to make phpstorm understand it's mysql?
Please sign in to leave a comment.
What sql dialect is it?
You can add e.g. "@lang Mysql" phpdoc line comment to make this work: