-
Notifications
You must be signed in to change notification settings - Fork 497
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
BLADE构建项目的VS code插件 #997
Comments
可以用 clangd <https://www.google.com/search?q=clangd>,然后 blade 可以生成 compilation
database
<05d29e1>
。
paleyl ***@***.***> 于2022年10月22日周六 10:54写道:
… *Is your feature request related to a problem? Please describe.*
能否开发一个vscode插件,支持BLADE构建的项目里的依赖解析、代码跳转和自动补全。
*Describe the solution you'd like*
大部分主流语言都有vscode插件,比如c++的IntelliSense,scala的
metals,支持代码补全和自动跳转,能很大程度提高生产力;不过BLADE构建的项目中,除了c++代码还可以通过头文件的include来寻找依赖,部分程度上满足了上述需求;java和scala代码,(如果不用pom管理),似乎无法自动通过import的关系来获取补全内容和跳转目标。这些应该可以通过BUILD文件中的deps来确定,因此能否开发一款这样的插件呢?
*Describe alternatives you've considered*
不是专业的开发人员,只是好奇能否实现这一功能。
*Additional context*
Add any other context or screenshots about the feature request here.
—
Reply to this email directly, view it on GitHub
<#997>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPH4SUSV5NEQWANHWTJHO3WENJNPANCNFSM6AAAAAARLU3TJY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I will update the documents to cover this feature. thanks. |
感谢feng哥解答,看了一下是个language server,但是没太搞清楚怎么跟blade结合起来用,期待feng哥的doc |
我自己写了一个blade的vscode插件,模仿现有的cmake插件支持的功能。 https://marketplace.visualstudio.com/items?itemName=dhwang.blade 视频介绍: |
👍🏻👍🏻👍🏻👍🏻
…On Sun, May 28, 2023, 00:00 Daohui Wang ***@***.***> wrote:
我自己写了一个blade的vscode插件,模仿现有的cmake插件支持的功能。
https://marketplace.visualstudio.com/items?itemName=dhwang.blade
视频介绍:
https://www.bilibili.com/video/BV14k4y1W72s
—
Reply to this email directly, view it on GitHub
<#997 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPH4STZYPDAKQJSZVHJ2STXIIQKDANCNFSM6AAAAAARLU3TJY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
请问把您的插件的链接加到Blade的文档中可以吗?谢谢。
|
可以的,很荣幸! |
Is your feature request related to a problem? Please describe.
能否开发一个vscode插件,支持BLADE构建的项目里的依赖解析、代码跳转和自动补全。
Describe the solution you'd like
大部分主流语言都有vscode插件,比如c++的IntelliSense,scala的 metals,支持代码补全和自动跳转,能很大程度提高生产力;不过BLADE构建的项目中,除了c++代码还可以通过头文件的include来寻找依赖,部分程度上满足了上述需求;java和scala代码,(如果不用pom管理),似乎无法自动通过import的关系来获取补全内容和跳转目标。这些应该可以通过BUILD文件中的deps来确定,因此能否开发一款这样的插件呢?
Describe alternatives you've considered
不是专业的开发人员,只是好奇能否实现这一功能。
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: