blade-build
blade-build copied to clipboard
BLADE构建项目的VS code插件
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.
可以用 clangd https://www.google.com/search?q=clangd,然后 blade 可以生成 compilation database https://github.com/chen3feng/blade-build/commit/05d29e1afd8e44ca0962350016158221b1057cf0 。
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 https://github.com/chen3feng/blade-build/issues/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.
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
视频介绍:
https://www.bilibili.com/video/BV14k4y1W72s
👍🏻👍🏻👍🏻👍🏻
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 https://github.com/chen3feng/blade-build/issues/997#issuecomment-1565549709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPH4STZYPDAKQJSZVHJ2STXIIQKDANCNFSM6AAAAAARLU3TJY . You are receiving this because you commented.Message ID: @.***>
请问把您的插件的链接加到Blade的文档中可以吗?谢谢。
我自己写了一个blade的vscode插件,模仿现有的cmake插件支持的功能。
https://marketplace.visualstudio.com/items?itemName=dhwang.blade
视频介绍:
https://www.bilibili.com/video/BV14k4y1W72s
可以的,很荣幸!