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.

[FR] Option to open the `settings.json` to the side when opening the settings UI editor

See original GitHub issue

Quote from Rob Lourens:

I know this isn’t much, but I was wondering whether it would help with the search to be able to open a settings UI editor to the side. Then you’d be able to search there on the side while still keeping your focus on the setting.json text editor.

Since @roblourens gutted the settings split JSON editor, at least give us an option to open the settings.json at the right side of the UI editor automatically.

Requirements:

  • An option to automatically open the settings.json at the right side of the UI editor.
  • When the settings.json is opened, the focus should remain in the UI editor’s search bar.
  • When switching to workspace settings, switch the settings.json to the workspace one as well.
  • When triggering the workbench.action.openSettings action multiple times, the right side settings.json should be replaced if needed instead of opening multiple settings.json.
  • The UI editor and settings.json should remain two editors instead of combining them into one so that we could navigate between these two files using navigation shortcuts.
  • The UI editor’s table of contents should be allowed to hide at all times even when not searching.
  • Closing either the UI editor or settings.json should close them both.

If there’re any missing features, please comment below.

Demo:

image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:39
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
vscodebot[bot]commented, Aug 23, 2021

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

2reactions
wenfangducommented, Aug 25, 2021

@codestothestars

Thanks for stopping by, there’re many cases this can be useful, for example, when configuring editor.renderWhitespace, I want to see the behavior of each option immediately, this can’t be done only through the UI editor, we have to experiment in an ordinary text editor, in this case, we can do that in settings.json.

The same goes for the other direction as well, if I see editor.renderWhitespace has been configured to trailing in settings.json, and I want to know what the other options are, then I can search in the UI editor and see the description of each option.

And when configure other settings like workbench.colorCustomizations, we’d have to edit settings.json since the UI editor doesn’t support editing them, it’s convenient if settings.json is already at the side.

On the other hand, it’s just helpful to know the existing settings in a single file while configuring settings in general.

Read more comments on GitHub >

github_iconTop Results From Across the Web

User and Workspace Settings - Visual Studio Code
The Settings editor is the UI that lets you review and modify setting values that are stored in a settings.json file. You can...
Read more >
Switch back from Settings UI to Settings.JSON | VSCode.pro
IMPORTANT:This video is part of my https://VSCode.pro course. Check it out, it's 60% off this week.VSCode recently stopped displaying the ...
Read more >
ctrl + , gets me to settings.json instead of the ui in Visual ...
json file instead of the UI. I want to change so that whenever I try to open the settings without the command pallet....
Read more >
Settings | JetBrains Fleet Documentation
Press N/A to open settings.json. A separate editor tab opens. In the opened tab, specify the required settings using JSON syntax. For ......
Read more >
Fastest Way To Open settings.json In VSCode - Semicolon.dev
Where is settings.json file in Visual Studio Code? To open VSCode's settings.json file press Ctrl + Shift + P on Windows (or Command...
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