You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
I frequently use the 'Comment With Line Comment' command in Idea to turn single-line debugging statements on or off.
For instance, pressing
ctrl
+/
/ on this line:would turn it into this:
//$comment = 4;
The style of the comment changes in different file extensions. In a
.blade
file it would make this type of line comment:However, if you use this command within a
@php
block in Blade, it will continue using the general 'blade' style comment:becomes this:
This is a syntax error because everything inside the
@php
will just be interpreted as PHP code, and not pre-processed in Blade.I'm not sure if it's possible to make the 'Comment With Line Comment' context-sensitive from this plugin. If it's not, feel free to close this issue.
The text was updated successfully, but these errors were encountered: