Comments (3)
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.
I can reproduce everytime...
- Alter / malform the yaml and wait for the highlight
- scroll down through the file (you need a yaml file long enough for this) and away from your malformed change
- watch vscode chugg and eventually crash...
I'm on macOS (latest) and the latest VSCode if that helps?
from vscode-yaml.
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)
- The server crashes HOT 8
- the operation of format while remove comment HOT 1
- Auto-completion when using JSON Schema HOT 1
- JS-YAML: unknown tag <!Join> HOT 23
- feature request: jinja support? HOT 1
- Merging in multiple anchors results in validation error
- clientSnippetSupport field in yamlServerMain.ts is unused
- Option to disable validation HOT 2
- yaml server crashing HOT 8
- unpublished from marketplace HOT 3
- Possible to disable linting onChange?
- Stacktrace when using aws cloud formation templates
- unknown tag <tag:yaml.org,2002:str> HOT 1
- Include support for JSON Schema in YAML format HOT 1
- Auto-completion by context HOT 3
- Comments removed when formatting HOT 8
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 vscode-yaml.