Coder Social home page Coder Social logo

Comments (3)

adamvoss avatar adamvoss commented on July 21, 2024

Crashing VSCode is actually kind of impressive 😎 the bulk of the code lives out-of-process in a Language Server that can crash independently. If you find a way to reproduce this please let me know.

Regarding the underline issue, I will look into it when I find the time, but last I looked this behavior comes from the underlying parser, yaml-ast-parser, which is basically saying the document is invalid from there on, but I'll double check.

from vscode-yaml.

timm088 avatar timm088 commented on July 21, 2024

I can reproduce everytime...

  1. Alter / malform the yaml and wait for the highlight
  2. scroll down through the file (you need a yaml file long enough for this) and away from your malformed change
  3. watch vscode chugg and eventually crash...

I'm on macOS (latest) and the latest VSCode if that helps?

from vscode-yaml.

adamvoss avatar adamvoss commented on July 21, 2024

How big are we talking? I tried it with 5,000 lines and was able to scroll to the bottom.

Trying with 10,000 lines it appears to just give up on the underlining, I see the process using the CPU for a while then it drops to zero but the red underline is never drawn (more investigation would be needed to know if that is because of this extension or because of VSCode.

In no test did I reproduce a crash.

from vscode-yaml.

Related Issues (17)

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.