• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Pure-D/workspace-d: CLI deprecated, API + functionality moved into https://githu ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Pure-D/workspace-d

开源软件地址:

https://github.com/Pure-D/workspace-d

开源编程语言:

D 99.5%

开源软件介绍:

THE workspace-d CLI IS NO LONGER MAINTAINED - API/LIBRARY USERS SEE serve-d:workspace-d

workspace-d started out as executable for different IDEs to implement D functionality within them back before LSP was a thing. Over time all functionality got exposed using workspace-d as a library in a new program called serve-d which is a server implementation of the Microsoft Language Server Protocol. (LSP)

As the LSP server has been very stable for a while and workspace-d as a standalone not being used anymore I decided to deprecate the workspace-d command line interface with its proprietary RPC protocol.

The source code of workspace-d now lives in serve-d as a subpackage (serve-d:workspace-d).

As the proprietary RPC protocol has been removed a lot of template code has been removed and compilation times as library have sped up. Furthermore it's possible to use all of D's features in workspace-d APIs now, without needing to take care of the custom RPC protocol.


Old README:

workspace-d Build Status

Join the chat: Join on Discord

workspace-d wraps dcd, dfmt and dscanner to one unified environment managed by dub.

It uses process pipes and json for communication.

Special Thanks

Thanks to the following big GitHub sponsors financially supporting the code-d/serve-d tools:

become a sponsor

Installation

Precompiled binaries for windows & linux

Automatic Installation

Just run install.sh or install.bat (Windows/WIP)

sh install.sh

Manual Installation

First, install the dependencies:

  • dcd - Used for auto completion
  • dfmt - Used for code formatting
  • dscanner - Used for static code linting

Then, run:

git clone https://github.com/Pure-D/workspace-d.git
cd workspace-d
git submodule init
git submodule update
dub build --build=release --compiler=ldc2

Either move all the executable binaries to one path and add that path to the Windows PATH variable or $PATH on Posix, or change the binary path configuration in your editor.

Usage

For users

For plugin developers

Microsoft Language Server Protocol (LSP) wrapper: serve-d

Wiki/Message Format




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap