question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Overmind VSCode expand JSON state by default

See original GitHub issue

Right now, my JSON state is always closed.

{
addressBar: {error, url...}
device: {scrollPosition...}
}

I have to toggle it open every time to read state like this:

{
  "addressBar": {
    "error": null,
    "url": "http://localhost:8080"
  },
  "device": {
    "scrollPosition": {
      "x": 0,
      "y": 0
    }
  }
}

I think this should be default or at least some configuration option should be provided to use with it.

PS: Overmind is a breath of fresh air. It’s so simple that anyone can understand it. Especially love the best practices in docs 😃

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
christianalfonicommented, Aug 9, 2020

Okay, I think I will try to implement this as: “Keys at root level that has 5 or less keys will expand automatically”. We try that first and see how it goes 😄

0reactions
deadcoder0904commented, Jun 8, 2020

Ah, I see! I was just thinking if you load like 100 items and put them into an object, it would expand all 100 items as well… which is typically not what you want 😄

Haha didn’t think about that as it wasn’t needed for my use-case. But yeah certainly don’t want that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON editing in Visual Studio Code
JSON schemas describe the shape of the JSON file, as well as value sets, default values, and descriptions. The JSON support shipped with...
Read more >
User and Workspace Settings - Visual Studio Code
The easiest way to reset VS Code back to the default settings is to clear your user settings.json file. You can open the...
Read more >
Visual Studio Code Tips and Tricks
Try out VS Code's code editing features, like multi-cursor editing, ... the Open Settings (JSON) command or by changing your default settings editor...
Read more >
Contribution Points | Visual Studio Code Extension API
Contribution Points. Contribution Points are a set of JSON declarations that you make in the contributes field of the package.json Extension Manifest.
Read more >
when clause contexts | Visual Studio Code Extension API
For example, VS Code uses when clauses to enable or disable command keybindings, which you can see in the Default Keybindings JSON (Preferences:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found