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

Suggestions #15

Closed
Blfrg opened this issue Jul 1, 2022 · 2 comments
Closed

Suggestions #15

Blfrg opened this issue Jul 1, 2022 · 2 comments

Comments

@Blfrg
Copy link
Contributor

Blfrg commented Jul 1, 2022

Cool. If you have more suggestions go ahead.
I am planning to update and publish new version. Since tooling has improved a lot since last version.
Originally posted by @mubaidr in #14 (comment)

As requested for suggestions, I decided to open an issue to discuss options and allow others to contribute.


The pack already includes:

Vue 3 Snippets - A Vue.js 3 And Vue.js 2 Code Snippets Extension
by @hollowtree

But this extension hasn't been updated in 2 years, and the repo still says "Vue 2" even though the Marketplace lists "Vue 3".

There's a similar extension with ~1.5m installs:

Vue VSCode Snippets - Snippets that will supercharge your Vue workflow
by @sdras

This one is more recently updated and may be more actively maintained.
I'm unsure if the pack should prefer one over the other, but I wanted to highlight a possible alternative.


I noticed that the extension which is already in the pack:

TypeScript Vue Plugin (Volar)
by @johnsoncodehk

says:

It's recommended to use take over mode instead of this plugin.

Although that looks like a deprecation warning, it means to disable the native TS language server in VS Code while using the extension, which allows the Volar language server to "take over" handling regular TS files and Vue SFC files with TS.
The instruction is more clearly stated on the Official Vue Page
The configuration change is significant. Otherwise, two language servers are parsing TS, which impacts performance.
Maybe the extension pack should call attention to the instructions since the extension cannot automate the change.


Since the update will be forward-looking, maybe the extension pack should include Official Vite and Vitest extensions:

Vite - VS Code for Vite
by @antfu

Vitest - Run and debug Vitest test cases
by @zxch3n

@mubaidr
Copy link
Owner

mubaidr commented Jul 1, 2022

Yes, I noticed that too. Vue 3 Snippets is not being maintained, and replaced it with Vue VSCode Snippets. Update is already published.

I have also added vite vscode extension. vitest seems good suggestion, I will add it right now.

Regarding the volar extension configuration, I will add links to instructions in the read me.

Thanks for the suggestions. Will publish update in few minutes.

@mubaidr
Copy link
Owner

mubaidr commented Jul 1, 2022

Published an updated version.

Please re open if you have suggestions. Thanks

@mubaidr mubaidr closed this as completed Jul 1, 2022
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

2 participants