Hayden
Hayden
### Describe the bug Unable to integrate [monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages) in a vite project.  Maybe it's not an issue with vite, but I do need help. I'm maintaining [monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages), and I...
**Describe the bug** All content in the editor is automatically selected after changing the value. **To Reproduce** This is my code ```jsx import { useEffect, useState } from 'react'; import...
## 简介 https://github.com/DTStack/dt-sql-parser/issues/247 指定 parser 解析模式为 `PredictionMode.SLL`,以获得更好的性能。 SLL 拥有更好的性能的同时,也对语法文件有更高的要求,它要求 1. 语法文件的规则尽量简洁(减少前缀相同的备选分支) 2. 语法文件内部规则没有很高的模糊性(二义性) 3. 尽量少的使用左递归 ## 主要变更 1. basicParser 中为 parser 设置解析模式为 `PredictionMode.SLL` 4. 优化 mysql、spark 以及 postgre 的语法文件,以适应 SLL...
## 简介 支持上下文中的实体收集 #250 ## 主要变更 1. 新增entityCollector 抽象类 2. 重命名 SyntaxContextType 为 EntitContextType 3. 添加单元测试 ## 支持情况 - [X] MySQL @HaydenOrz - [X] Spark @HaydenOrz - [X] Impala @LuckyFBB...
### Topic Any Others ### Description https://github.com/mike-lischke/antlr4ng
nonReserved keywords is contained by idetifier rule
我想提示column的信息,需要获取table的名称,要如何获取啊 _Originally posted by @dcycurry in https://github.com/DTStack/monaco-sql-languages/issues/105#issuecomment-1960738532_
## Why? monaco-sql-languages 支持的 language 都是各种 SQL,与之对应的就会有许多符号/icon是SQL语言特有的,比如 database 、table 等,而monaco 内置并不支持这些符号/icon,目前自动补全项左侧的 icon 问题尤为明显:  ## 方案概述 1. 制作自动补全项对应的 iconfont 2. 新增 css 文件,覆盖monaco 内置的字体图标 ## 字体图标风格 与monaco/vscode 的字体图标风格保持一致 https://code.visualstudio.com/api/references/icons-in-labels#icon-listing ...