Force blade comment in blade file

Hi, how can I force Phpstorm to use always the blade comment ( {{-- --}} ) inside a .blade.php file?

At the moment when I use the shortcut "CTRL+/" they are inserted only in the HTML part of the file but not inside the javascript, where the standard comment is used (//).

Can I define a new shortcut key to use that comment style to surround the code? (Like the CTRL+/ behaviour where I select a line or multiple lines)

Thanks,

Karim

0
2 comments

There looks like no way to force it. You might want to submit this as a feature request at http://youtrack.jetbrains.com/issues/WI#newissue=yes

 

0
Avatar
Permanently deleted user

Ok, thanks.

I submitted this feature (https://youtrack.jetbrains.com/issue/WI-39821)

0

Please sign in to leave a comment.