Code Monkey home page Code Monkey logo

Comments (10)

Samrose-Ahmed avatar Samrose-Ahmed commented on July 3, 2024

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.

HaydenOrz avatar HaydenOrz commented on July 3, 2024

Please provide the SQL content and the version you have installed, so that we can fix the problem more quickly.

from monaco-sql-languages.

Samrose-Ahmed avatar Samrose-Ahmed commented on July 3, 2024

This is on the latest version and happens with any content from single character to full sql string

from monaco-sql-languages.

Samrose-Ahmed avatar Samrose-Ahmed commented on July 3, 2024

I tried changing to a few versions earlier and the issue is there as well

from monaco-sql-languages.

HaydenOrz avatar HaydenOrz commented on July 3, 2024

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.

Samrose-Ahmed avatar Samrose-Ahmed commented on July 3, 2024

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.

Samrose-Ahmed avatar Samrose-Ahmed commented on July 3, 2024

can confirm it works by downgrading to 3.1.1

from monaco-sql-languages.

HaydenOrz avatar HaydenOrz commented on July 3, 2024

Refer to DTStack/dt-sql-parser#206.

from monaco-sql-languages.

HaydenOrz avatar HaydenOrz commented on July 3, 2024

@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.

Samrose-Ahmed avatar Samrose-Ahmed commented on July 3, 2024

I can confirm issue is resolved thanks.

from monaco-sql-languages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.