codingyu / laravel-goto-view

vscode extension
MIT License
45 stars 28 forks source link

Quick jump options for Livewire components #56

Open jdjebi opened 2 years ago

jdjebi commented 2 years ago

Hi, I don't have the knowledge to contribute to a vscode extension but I think it would be cool to be able to make a quick jump to the syntaxes integrating the livewire components in a view like the ones below:

<livewire:my-component :data="..." :wire:key="..."> and @livewire('my-component',[...],key(...))

bilogic commented 9 months ago

I agree!! Actually, make it more generic: currently I'm writing {{-- @include("Livewire.Example") --}} and it jumps to my component code.

It would be great if we can have something non-blade such as @codejump("Livewire.Example") so that it breaks if not wrapped in comments, that makes it clear it is just a hyperlink.