yaegassy / coc-laravel

Laravel extension for coc.nvim
https://www.npmjs.com/package/@yaegassy/coc-laravel
MIT License
28 stars 2 forks source link

[DEMO] Definition Features #2

Closed yaegassy closed 1 year ago

yaegassy commented 1 year ago

View definition

from PHP to Blade

https://github.com/yaegassy/coc-laravel/assets/188642/8cf4f009-c874-4691-ac68-26f758bb487b

yaegassy commented 1 year ago

Blade View definition

from Blade to Blade

https://github.com/yaegassy/coc-laravel/assets/188642/77be4261-0b07-47c4-875b-d7c59dbe8897

yaegassy commented 1 year ago

Component definition

from Blade -> PHP or Blade

https://github.com/yaegassy/coc-laravel/assets/188642/58fe3725-952d-4cad-94da-6da2acf47110

yaegassy commented 1 year ago

Livewire tag definition

https://github.com/yaegassy/coc-laravel/assets/188642/1ab5a112-11d1-432e-bf80-cd98d97b9d92

yaegassy commented 1 year ago

Livewire directive definition

https://github.com/yaegassy/coc-laravel/assets/188642/7b74da27-5b66-4bf3-815d-670b53592ae5

villeneuve-michael commented 10 months ago

Hey quick question, I'm trying to jump to a blade definition using C-] but it's not working. Is there any specific shortcut or my problem is most likely with the install?

yaegassy commented 10 months ago

@villeneuve-michael To use the definition jumps provided by the language server or extension in coc.nvim, coc-definition must be mapped.

Please refer to the README of coc.nvim to map and try it out.