2

WallabyJS将这个漂亮的线条标记添加到编辑器中。我搜索了VSCode 扩展 API,但找不到将此类颜色矩形添加到线条的 API。知道怎么做吗?

小袋鼠

4

1 回答 1

0

这是通过所谓的装饰 API完成的,特别是带有装订线图标的装饰:

gutterIconPath?: string | Uri

要在装订线中呈现的图像的绝对路径或 URI。

DecorationRenderOptions.gutterIconPath

于 2020-09-28T08:22:51.263 回答