Comments (1)
Hi @originalrusyn, thanks again for choosing this plugin and for your feedback!
Unfortunately it's not possible to implement exactly your proposal because:
- in general the text is read-only so there isn't a cursor to move around like in IDEs
- in Tree mode in particular the text is dynamically fragmented across several html components (that's what makes it fast and easy to navigate)
But I agree that it would be nice to have a shortcut to quickly select a value such as a UUID in Tree mode, so in #37 I introduced:
shift + left arrow
: select node keyshift + right arrow
: select node valuecommand + a
: select whole line- this one is a bit buggy in chrome because it will add an extra newline when pasting to another editor
Again, expanding selection across multiple lines would not work as intended due to the complex DOM structure.
Hope you'll find it useful!
As an extra suggestion, in case you need to copy-paste several UUIDs you could leverage the JQ filtering and the Raw view.
Example: to copy all ids from a list of json objects
[{"id": 1, "field": "value_1"}, {"id": 2, "field": "value_2"}]
command + shift + f
: goto JQ filter- insert
map(.id)
and hit enter command + i
: switch to raw viewcommand + 0
: focus text areacommand + a
: copy text
from virtual-json-viewer.
Related Issues (16)
- JQ is disabled on strict CSP HOT 1
- Manifest V3
- Suggestion: detect when dark mode changes on the desktop HOT 2
- Make CTRL + A select only the raw value when in json viewer
- jq doesn't work HOT 2
- Feature request: Make links clickable by pressing Alt/Option + click HOT 1
- Feature Request: Mouseless work by keyboard shortcuts HOT 2
- Feature Request: Ability of saving filters and search queries to be able load them again and apply HOT 1
- [BUG] Huge errors cover the search bar HOT 2
- Feature Request: Expose default expanded/collapsed in settings HOT 1
- Unexpected non-whitespace character after JSON at position 7509 HOT 1
- Option to disable sorting. Display the JSON data as it is in tree view HOT 1
- Add setting to show searching result context in Tree mode HOT 5
- Set default application state in settings
- Enable the plugin on json content, regardless of content type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtual-json-viewer.