Code Monkey home page Code Monkey logo

Comments (3)

DanTup avatar DanTup commented on September 27, 2024

I've seen this before, and then never been able to reproduce. My feeling is that either the server or VS Code are processing the request out of order with a modification, so the offsets are not applied correctly. What's odd is that some of the text seems too correct (for example Radius.circular above) for the entire request to be wrong.

How frequently do you see this? Do you have any feeling for what might contribute to it (like is it when the analysis server may be busy during initial analysis, or when you're typing quickly, or pasting large code chunks?). If I can repro it while capturing a log, it might be easier to narrow down.

from dart-code.

Reprevise avatar Reprevise commented on September 27, 2024

How frequently do you see this? Do you have any feeling for what might contribute to it (like is it when the analysis server may be busy during initial analysis, or when you're typing quickly, or pasting large code chunks?).

Multiple times per day. It happens beyond the initial analysis (if you mean like when VSCode starts up). I would say both, typing quickly and when pasting code in.

from dart-code.

DanTup avatar DanTup commented on September 27, 2024

By coincidence, I just saw this in the analysis server codebase. It looks to me like a VS Code bug, because if I open the "Inspect Tokens and Scopes" helper (a VS Code feature), it claims the text is the same colour in both positions of a multicolour word.

I've opened microsoft/vscode#211369 with some screenshots.

Will close this for now on the basis that it appears the bug is there, but we can re-open if the response indicates there might be something wrong here.

from dart-code.

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.