Comments (3)
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.
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.
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)
- Sidebar doesn't work in web contexts because DTD URI is not exposed HOT 1
- The "Open Log" button on generic prompt to reload should be more targetted
- Auto imports broken on third party packages HOT 13
- m HOT 1
- m HOT 1
- Widget Inspector incompatible size in vscode HOT 1
- Triggererd breakpoints are not resetting on restart HOT 2
- [DevTools] Add toggle for showSemanticsDebugger HOT 1
- ... HOT 1
- The class cannot be opened using ctrl, and the class hierarchy cannot be displayed HOT 21
- Dependencies tree doesn't show correct nodes HOT 2
- I cannot run or debug normally on Vs code (flutter) HOT 1
- Make "Build errors exist in your project" clearer
- `@template` documents declared on extension aren't shown elsewhere HOT 3
- Manually restarting the analysis server whlie analysing shows that the server wont restart HOT 3
- analysis_options exclusions are applied incorrectly when detecting projects
- Nested packages in Dependencies tree are shown flattened but sorted by path HOT 1
- Expanding a project in Dependencies tree triggers a pub fetch which creates .dart_tool
- Color previews are missing on Flutter master HOT 2
- Closing labels (and others?) may not work with non-file-based documents (such as dart-macro+file)
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 dart-code.