Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alphazwest opened this issue Feb 9, 2020 · 7 comments
Open
Assignees
Labels

Comments

@alphazwest
Copy link

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
@sunjw
Copy link
Owner

sunjw commented Feb 10, 2020

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

@sunjw sunjw self-assigned this Feb 10, 2020
@sunjw sunjw added the question label Feb 10, 2020
@alphazwest
Copy link
Author

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

@sunjw
Copy link
Owner

sunjw commented Feb 10, 2020

#83 found some one has the same issue.

@FireEmerald
Copy link

FireEmerald commented Oct 9, 2020

@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.

@sunjw
Copy link
Owner

sunjw commented Oct 9, 2020

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

@FireEmerald
Copy link

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 

@sunjw
Copy link
Owner

sunjw commented Oct 13, 2020

Maybe bug in NPP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants