Hayden
Hayden
If you build your application with EsBuild and use it to transform the code to support jest. Then I think this plugin makes sense because you can remove all dependencies...
这个功能我们还在开发中, 相关进展可以关注: https://github.com/DTStack/dt-sql-parser/discussions/250 和 https://github.com/DTStack/dt-sql-parser/pull/253
@dcycurry @Kijin-Seija monaco-sql-languages 0.12.0-beta.11 版本已发布: https://www.npmjs.com/package/monaco-sql-languages/v/0.12.0-beta.11 新增支持了自动补全过程中收集实体,现在你可以在 completionService 的最后一个参数中接收实体信息(表名、字段名等) 另外,此版本上有一些破坏性变更,如果更新后报错,请查看最新的文档。
请在尽快确认该功能是否可用或者是否符合期望,有任何问题,欢迎反馈。 如果没有反馈,本issue将在一周后关闭。
> @HaydenOrz 升级后,webpack编译时遇到这个问题 @dcycurry 看起来像是 webpack 配置中,处理 js 的 loader 版本太旧了, [class static block](https://github.com/tc39/proposals/blob/main/finished-proposals.md) 在 es2022 版本才支持,具体解决方式需要看 webpack 配置中处理js 的loader是什么。 如果用的是 ts-loader 那么需要升级 typescript 和 ts-loader 版本,swc 和 esbuild 同理。
> `SELECT * FROM database111.` 光标在``位置时希望收集到`database111`这个database,这个情况你们考虑收集吗? 暂时不考虑收集,原因同 https://github.com/DTStack/dt-sql-parser/issues/284#issuecomment-2033478419
@hi-ogawa Thank you for your answer. Regarding `optimizeDeps.include` , it was just an attempt because I really didn't know how to solve the problem. However, I also found that this...
可以提供一段SQL 示例和相应你期望的结果吗?
Hi @magnew, monaco-sql-languages has made new progress on the issue of vite integration, which you can see in detail in the latest comments on https://github.com/DTStack/monaco-sql-languages/issues/87