microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.39k stars 29.32k forks source link

Support for Livewire Volt IntelliSense #194270

Closed nielenseldte closed 1 year ago

nielenseldte commented 1 year ago

Hello VS Code team,

I am a Laravel developer who uses VS Code as my primary code editor. I love the features and extensions that VS Code offers, especially the IntelliSense for various languages and frameworks.

Recently, I have started using Livewire Volt, which is an elegantly crafted functional API for Livewire that supports single-file components, allowing a component’s PHP logic and Blade templates to coexist in the same file1. Volt is a great way to write expressive and concise Livewire components with less boilerplate.

However, I have noticed that VS Code does not provide any IntelliSense for Volt components. VS Code treats Volt files as regular Blade files, which means that there is no PHP IntelliSense inside the PHP tags. This makes it hard to write and debug Volt components, as I cannot access the code completion, parameter info, quick info, and member lists that I am used to in VS Code.

I would like to request that VS Code adds support for Livewire Volt IntelliSense, so that I can enjoy the full power of VS Code while writing Volt components. I think this would be a valuable feature for many Laravel and Livewire developers who use VS Code as their code editor.

Thank you in advance.

Sincerely, A VS Code user and fan

vscodenpa commented 1 year ago

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.

Happy Coding!