Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volar Not Found: this should be bundled #51

Open
chriscalo opened this issue Jul 14, 2022 · 1 comment
Open

Volar Not Found: this should be bundled #51

chriscalo opened this issue Jul 14, 2022 · 1 comment

Comments

@chriscalo
Copy link

I see the following message every time I open Nova:

Volar Not Found

You have selected Volar as the preferred
language server for Vue but no executable has
been found on your system. Check the docs for
the installation process.

I understand that this is intentional, but since this message is coming from an installed extension, it feels broken. In my opinion, extensions should just work and not have external dependencies.

Of course, it could detect if Volar is installed and use it if is. But if Volar isn't installed, I feel like this extension should come with its own bundled copy.

I say this because I think there are lots of people like me: I use Vue, but I don't want to do any configuration to get syntax highlighting. Instead, I want to install the extension and get the "standard" syntax highlighting without any additional effort.

@chriscalo
Copy link
Author

chriscalo commented Apr 13, 2023

Turns out there is a setting to tell the extension to not look for Volar (and thereby stop telling me when it's not found):

Screenshot 2023-04-13 at 09 50 31

I still think the default behavior should be that all dependencies should be bundled, but that's not my call. You could even create an advanced setting where users can tell you where to find the locally installed copy of Volar they want the extension to use. This would mean the default, zero-effort setup "just works", but people who want more control can have it.

And ironically, I ended up installing Volar globally, and it didn't fix the syntax highlighting issues I'm seeing, so I'm confused what the point of Volar is. Two examples below:

Screenshot 2023-04-13 at 09 54 06

But my issue is now solved, thanks for the useful extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant