osecop.blogg.se

Visual studio code format json
Visual studio code format json








visual studio code format json visual studio code format json

Since the microsoft/vscode#84803 issue has been fixed in the latest vscode release, I still get the error messages, but I can safely ignore them as VS Code continues to to run. Crashing the extension host makes vscode unusable, which made me look for solutions.

  • There was a bug in VS Code that crashed the extension host ( Extension Host broken microsoft/vscode#84803), and the constant errors from the prettier extension triggered this for some reason.
  • Not sure whether this is a vscode change or a change in the prettier extension.
  • The errors were already there, but they were suddenly made visible in VS Code.
  • Why is the problem popping up now? It's an amalgamation of two problems: I have figured it out by looking at the latest logs, which have more information on where the prettier load problem has happened in the monorepo (keep them!).īut this has always been so.

    visual studio code format json

    Those packages are causing the module loading problem. Some packages in my monorepo are not npm install-ed, because I've never worked on them (my colleagues have), and so I never needed to.

    visual studio code format json

    This is my latest (prettier extension 3.11.0) log: īut I think I know what's going on (in my repo, at least).










    Visual studio code format json