vscodium icon indicating copy to clipboard operation
vscodium copied to clipboard

json settings editor

Open OneOfOne opened this issue 2 years ago • 4 comments

With microsoft completely ignoring the voices of the community (shocking, right?), is there any chance you guys can revert that horrible bug they introduced?

https://github.com/microsoft/vscode/issues/125952

OneOfOne avatar Aug 09 '21 16:08 OneOfOne

Damn! I've really thought that the split had removed few months back!! I just found that it's option to check. No wonder that it is used very little... By the way, I'm editing the setting in JSON.

I will have to understand why it has been deprecated and removed in the first place. When I've started using VSCode, I did like that feature and thought that it was nice.

In the meantimes, you are welcome to make a PR.

daiyam avatar Aug 09 '21 16:08 daiyam

The old split JSON settings editor is more useful because when searching, the unmatched properties are hidden.

I think the split JSON settings editor should be the default, like 2-3 years ago. The GUI isn't very useful...

I've read the post, no real information about the tech limitation...

daiyam avatar Aug 09 '21 19:08 daiyam

You might want to upvote this issue (not sure it will make any difference but we can try): https://github.com/microsoft/vscode/issues/129594

carlocardella avatar Aug 09 '21 19:08 carlocardella

Here the patch to add back the previous JSON settings editor: json-settings-editor.patch.zip

I've just copied the old version from 1.58 and fixed the few changes...

daiyam avatar Aug 14 '21 07:08 daiyam

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment, and we'll keep it open. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Oct 08 '22 01:10 github-actions[bot]

!stale

lonix1 avatar Oct 08 '22 07:10 lonix1

To just access the JSON settings: F1 or Ctrl + Shift + P, then:

  • > Preferences: Open User Settings (JSON)
  • > Preferences: Open Default Settings (JSON)
  • ...

To write a extension and add some buttons, here are the commands:

  • Default Settings (JSON): workbench.action.openRawDefaultSettings
  • Folder Settings (JSON): workbench.action.openFolderSettingsFile
  • Workspace Settings (JSON): workbench.action.openWorkspaceSettingsFile
  • Remote Settings (JSON): workbench.action.openRemoteSettingsFile
  • User Settings (JSON), not sure why there are 2 of them:
    • workbench.action.openSettingsJson
    • workbench.action.openApplicationSettingsJson

Crystal-RainSlide avatar Oct 24 '22 10:10 Crystal-RainSlide

I don't think we will re-implement the JSON settings editor. It will take too much time.

@Crystal-RainSlide It was when the JSON settings editor was a split editor between the current editor and the reference file with sync search and other....

daiyam avatar Oct 24 '22 11:10 daiyam

:sob:

lonix1 avatar Oct 24 '22 13:10 lonix1

hmmm

workbench.settings.useSplitJSON

hmmm

Crystal-RainSlide avatar Oct 24 '22 13:10 Crystal-RainSlide

@lonix1 Ya... Sorry Me too, I'm sad. @Crystal-RainSlide No, not the same... The old one was 1 editor with 1 search. The new is 2 editors with 2 searchs.

daiyam avatar Oct 24 '22 13:10 daiyam

hmmm (*2)

This one don't seems like started though

https://github.com/zokugun/MrCode#split-json-settings-editor

split JSON settings editor

I will try to add back the split JSON settings editor via an extension.

Crystal-RainSlide avatar Oct 26 '22 11:10 Crystal-RainSlide