vscode-json-editor icon indicating copy to clipboard operation
vscode-json-editor copied to clipboard

Added quick ways to open JSON Editor

Open vertcitron opened this issue 6 years ago • 1 comments

Added editor title bar button and explorer context menu item.

I like your extension and I try here to bring my modest contribution.

I added two quick ways to open JSON Editor without typing the command.

  • A button {} in the top right corner of the editor's title bar when a JSON file is opened in the standard editor.
  • A context menu Item on right click of a JSON file in the vscode explorer.

On the context menu, if the file is not opened in a text editor, it's automatically opened alongside with JSON Editor.

The original icon was not showing well when vscode is in dark mode when in the editor title bar, I had to recreate two ones, one for light themes and one for dark themes.

I hope you'll like it...

Best regards

vertcitron avatar Jul 01 '19 18:07 vertcitron

I have forked this project, and implemented several of the requests and fixes. Please check it out.

https://marketplace.visualstudio.com/items?itemName=GregChamblin.vscode-json-editor

gregchamblin avatar Jun 02 '20 14:06 gregchamblin