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
In my Blade template, I define an include with @includeWhen()
@includeWhen($condition, 'components.sidebar')
When I attempt to Cmd+Click on "components.sidebar", it does not jump to the corresponding Blade view file. Instead, it only positions the cursor within the current file.
Temporary Fix for Laravel View Navigation with Updated Regex Pattern
I found a workaround by modifying the laravel_goto_view.regex value to the following:
This modification allows view navigation to work with various directives, including @includeWhen() and other complex view inclusion methods. While this serves as a temporary fix, I would greatly appreciate if this could be implemented as the default behavior in the extension.
Would it be possible to make this the default regex pattern for view navigation in the Laravel extension?
The text was updated successfully, but these errors were encountered:
In my Blade template, I define an include with
@includeWhen()
When I attempt to Cmd+Click on "components.sidebar", it does not jump to the corresponding Blade view file. Instead, it only positions the cursor within the current file.
Temporary Fix for Laravel View Navigation with Updated Regex Pattern
I found a workaround by modifying the laravel_goto_view.regex value to the following:
This modification allows view navigation to work with various directives, including @includeWhen() and other complex view inclusion methods. While this serves as a temporary fix, I would greatly appreciate if this could be implemented as the default behavior in the extension.
Would it be possible to make this the default regex pattern for view navigation in the Laravel extension?
The text was updated successfully, but these errors were encountered: