Comments (10)
Seems to be throwing here https://github.com/DTStack/dt-sql-parser/blob/55379f3cf5a88ae7682d2a9d1a08a509e73c1263/src/parser/common/basicParser.ts#L330 inside https://github.com/mike-lischke/antlr4-c3/blob/705a1dadda76c4700f3b7a992be63ddf1ffe1792/src/CodeCompletionCore.ts#L182 because the tokenStream is undefined.
from monaco-sql-languages.
Please provide the SQL content and the version you have installed, so that we can fix the problem more quickly.
from monaco-sql-languages.
This is on the latest version and happens with any content from single character to full sql string
from monaco-sql-languages.
I tried changing to a few versions earlier and the issue is there as well
from monaco-sql-languages.
This problem should be caused by the version update of antlr4-c3. See this issue . If the version of antlr4-c3 in the node_modules is above 3.2.x, you can confirm that this issue is causing it. We will release a new version as soon as possible to fix this issue.
from monaco-sql-languages.
Thanks much for the update. I can confirm the antlr4-c3 version is 3.3.4
. I will try overriding it now.
from monaco-sql-languages.
can confirm it works by downgrading to 3.1.1
from monaco-sql-languages.
Refer to DTStack/dt-sql-parser#206.
from monaco-sql-languages.
@Samrose-Ahmed
Sorry for the trouble!
Now the new version v0.12.0-beta.6
has been released. If you confirm that your issue has been resolved, please close this issue, or we will close it in a week.
from monaco-sql-languages.
I can confirm issue is resolved thanks.
from monaco-sql-languages.
Related Issues (20)
- 替换 Monaco 内置的图标 HOT 2
- 我想提示column的信息,需要获取table的名称,要如何获取 HOT 11
- About React-Monaco-Editor support issues HOT 12
- How to adjust suggest filter HOT 2
- spark sql need support multi line comments HOT 1
- 构建相关
- Highlight datatTypes HOT 1
- Support more monaco theme HOT 1
- Compatible with custom parameter syntax In BatchWorks HOT 1
- remove useless code
- Integrating new pgsql parser HOT 3
- How to make work with code splitting/async loading? HOT 7
- 可考虑支持结合Ace editor 使用吗? HOT 8
- Monaco CompletionItem documentation not showing? HOT 2
- Can not load language due to _EditorSimpleWorker.loadForeignModule error HOT 28
- 【BUG】Dependency path error problem HOT 2
- dynamically updated Functions,for highlight udf
- Uncaught ReferenceError: Cannot access 'languageDefinitions' before initialization HOT 2
- support monaco.languages.CompletionList.incomplete HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monaco-sql-languages.