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
feat(cli): upgrade @vue/language-server
for JetBrains IDE
#15584
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 similar comments
This was referenced May 4, 2024
This was referenced May 4, 2024
感谢 PR,但跟编辑器开发体验优化相关的,放在项目默认模板中也不太合适。而且 |
没关系的。不过开发体验也是项目的一部分,或许可以加在文档里?
这个 |
跟编辑器相关的非必须的依赖都不建议放在默认模板的依赖里,Vue 的官方模板也没有添加 |
Tip 更新: 可以不用安装在项目里,全局安装依赖也能被 IDE 识别到:
2023.3 起还可以通过 修改 Registry 的方式修改内置
|
anyesu
added a commit
to anyesu/taro-demo
that referenced
this pull request
May 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
这个 PR 做了什么? (简要描述所做更改)
Important
更新:#15584 (comment)
说明
JetBrains IDE 2023 版本开始集成 Volar , 项目中安装
@vue/language-server
依赖后再通过配置就可以支持最新的 Vue 3 语法检查。( 比如[email protected]
的 同名简写 )Note
目前还不支持自动使用已安装的
@vue/language-server
,仍需要手动配置看了 Volar VSCode 插件 的 文档 , Vue 2 也是支持的。
适用范围
2023.1.3
开始集成 Volar (481ca95
)项目中 TypeScript 版本大于等于
5.0.0
时自动启用。2023.2
开始支持自定义 Volar 安装包 (a65cb40
)2023.3
对 Vue 3 支持更加完善2024.1
开始默认启用 Vue Language Server (Volar) (2f79a00
)IDE 将在后续版本中升级到
@vue/language-server
v2 ,项目中自己手动安装依赖就不需要等 IDE 升级了。截图
升级前
升级后
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台: