monaco-sql-languages icon indicating copy to clipboard operation
monaco-sql-languages copied to clipboard

feat: add reference and definition provider

Open Cythia828 opened this issue 1 year ago • 5 comments

feat

  • 支持跳转到引用、跳转到定义

预览地址

https://cythia828.github.io/monaco-sql-languages/

Cythia828 avatar Sep 25 '24 01:09 Cythia828

How can I use them?

liuxy0551 avatar Sep 27 '24 09:09 liuxy0551

How can I use them?

这两个provider作为基础功能已经为你注册好了,在你编辑sql的时候,在光标实体处按住command加点击,如果当前实体是引用实体,就会跳转到其定义的地方(即CREATE的地方);如果当前实体是定义实体,则会显示出使用了当前实体的地方,如下图

image

Cythia828 avatar Sep 27 '24 09:09 Cythia828

deploy website到自己的仓库上,让review的人可以预览

HaydenOrz avatar Oct 21 '24 07:10 HaydenOrz

deploy website到自己的仓库上,让review的人可以预览

@Cythia828 将 package.json "deploy" 命令中的 "DTStack" 改为自己的名称,再执行 npm run deploy

liuxy0551 avatar Oct 22 '24 02:10 liuxy0551

deploy website到自己的仓库上,让review的人可以预览

@Cythia828 将 package.json "deploy" 命令中的 "DTStack" 改为自己的名称,再执行 npm run deploy

Cythia828 avatar Oct 22 '24 02:10 Cythia828