JSON-Viewer icon indicating copy to clipboard operation
JSON-Viewer copied to clipboard

JSON Viewer Panel

Open kenanunkesti opened this issue 1 year ago • 5 comments

Hello, First of all, thank you for developing this plugin, I hope you will make the following improvements soon :)

  1. Press Enter in the search box and it will search. Each time the F3 key is pressed, it moves to the next item.
  2. After selecting the item, the copy options in the right-click menu can be made without quotes.
  3. After the item is selected, the cursor on the page moves to the relevant area. Thank you again.

kenanunkesti avatar Aug 12 '24 17:08 kenanunkesti

@kenanunkesti Thank for using Json Viewer and providing valuable suggestion.

Press Enter in the search box and it will search. Each time the F3 key is pressed, it moves to the next item.

I will work upon this and hope, it can be available in next release

After selecting the item, the copy options in the right-click menu can be made without quotes.

I would like to retain the current behavior as it is more informative. Refer below example

{
	"default_time_interval_in_number" : 123400.0,
	"default_time_interval_in_string" : "123400.0"
}

After using copy feature.

default_time_interval_in_number : 123400.0
default_time_interval_in_string : "123400.0"

After the item is selected, the cursor on the page moves to the relevant area.

This is long awaited feature. I am finding it difficult to implement as underlying json parser (Rapidsjon) is not supporting this at this moment. I am exploring other parser and will try to find out the solution.

SinghRajenM avatar Aug 15 '24 06:08 SinghRajenM

After the item is selected, the cursor on the page moves to the relevant area.

@kenanunkesti Please test this in pre-release (https://github.com/NPP-JSONViewer/JSON-Viewer/releases/tag/v2.0.9.0) and provide feedback if any.

Press Enter in the search box and it will search. Each time the F3 key is pressed, it moves to the next item.

I will take up this next.

SinghRajenM avatar Oct 19 '24 18:10 SinghRajenM

Hello, It's nice, thank you, but there are some missing parts:

  1. The item you go to after selection should be at the beginning of the page, not anywhere else. It is difficult to perceive in the current situation.
  2. Even without selecting the attributes, it should be possible to go to the relevant node by simply clicking on the nodes.

kenanunkesti avatar Oct 20 '24 14:10 kenanunkesti

The item you go to after selection should be at the beginning of the page, not anywhere else. It is difficult to perceive in the current situation.

In my testing, it goes to the required line and visible in the notepad++ windows. The selected line is highlighted too. However, it is not always first visible line, but that is visible as per notepad++ property. I will see, if this can be improved.

Even without selecting the attributes, it should be possible to go to the relevant node by simply clicking on the nodes.

I didn't follow this completely. Just on single click on any node, it jumps to node. Please elaborate more on this.

SinghRajenM avatar Oct 20 '24 14:10 SinghRajenM

  1. After the click, the cursor and the relevant item should always be at the top of the page. In the current situation, it sometimes appears at the bottom and sometimes at the top. Animation1

  2. When I click on the nodes that appear with numbers, I must go to the curly brackets right above the relevant item. Currently clicking on the item does not work. Animation2

kenanunkesti avatar Oct 21 '24 16:10 kenanunkesti

It is fixed in latest build. Please check. If you find any issue, please report it. Thanks for your time and suggestion.

SinghRajenM avatar Nov 14 '24 04:11 SinghRajenM