jstoolnpp icon indicating copy to clipboard operation
jstoolnpp copied to clipboard

Feature Request: Right Click on Tree View to Copy Key or Value Data

Open alphazwest opened this issue 5 years ago • 7 comments

Call me crazy—I swear this functionality used to be present.

When in the tree viewer mode, I often find it pertinent to extract the data from either a key or a value entry. Having a simple context menu prompted from a right-click action would be very useful.

Suggested options:

  1. Copy Key
  2. Copy Value
  3. Copy Key: Value Pair

alphazwest avatar Feb 09 '20 13:02 alphazwest

Yes, it has a context menu for what you want. 图片

sunjw avatar Feb 10 '20 00:02 sunjw

Ahhhh! I knew I remembered that working at some point!

Any idea why that context menu wouldn't be appearing? No menu appears when I right-click in the JSON viewer pane

alphazwest avatar Feb 10 '20 03:02 alphazwest

#83 found some one has the same issue.

sunjw avatar Feb 10 '20 13:02 sunjw

@sunjw A simple right click on a item in the tree does not open any context menu. Is there something special to get the context menu to show or is it a bug? It seems like a bug... sample

It would be also cool if a double click on a item inside the tree view would select the corresponding row in the text view.

FireEmerald avatar Oct 09 '20 07:10 FireEmerald

@FireEmerald cannot reproduce on my computer, I'll leave this open.

sunjw avatar Oct 09 '20 14:10 sunjw

It seems like the issue only happens sometimes. I re-tested it on the same machine and now the context menu does appear as well as the mentioned auto-selection from my last comment works. I was also unable to break it again.

Notepad++ v7.9   (64-bit)
Build time : Sep 22 2020 - 03:19:04
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS Name : Windows 10 Enterprise (64-bit) 
OS Version : 1909
OS Build : 18363.1082
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll XMLTools.dll 

FireEmerald avatar Oct 13 '20 06:10 FireEmerald

Maybe bug in NPP.

sunjw avatar Oct 13 '20 09:10 sunjw