plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request]: route autocomplete in blade components

Open ainesophaur opened this issue 2 years ago • 0 comments

Feature Description

I love that laravel idea's validator settings has a property for "rules completion field names"

It would be awesome to have route auto suggestion based on property names of components. For instance

blade component <x-link />

@props([
    'routeName',
    'text'
])
<a href="{{route($routeName)}}">{{$text}}</a>

component consumer

<x-link route-name="" />

By allowing a setting similar to validation for "blade route completion properties" developers could receive suggested route names when filling in route-name

ainesophaur avatar Apr 19 '22 15:04 ainesophaur