Closed supermerill closed 2 years ago
Looks great! Thank you very much. I'll see if we can have this feature.
Hi, I was also looking for some "compact" mode. Can you show an example how it looks like?
My idea is to make a very simple option to compact only the deepest level (the leafes) by putting them into one line, if this line would be no longer than x (configurable) characters. This can then be easily disabled by setting x to 0.
Example:
{
"List": [
{"aaa": 1, "bbb": 2, "ccc": 3},
{"aaa": 4, "bbb": 5, "ccc": 6},
{"aaa": 7, "bbb": 8, "ccc": 9}
]
}
or (less change to current version / easier to do):
{
"List": [{
"aaa": 1, "bbb": 2, "ccc": 3},{
"aaa": 4, "bbb": 5, "ccc": 6},{
"aaa": 7, "bbb": 8, "ccc": 9}
]
}
an exemple:
{
"name": "vkl-graph", "version": "1.3.0-alpha", "description": "Graphs jQPlot binding for GWT", "homepage": "http://vekiaopensource.github.io/vkl-graph/", "keywords": ["graphs", "gwt", "jQPlot"],
"author": "Steeve Vandecappelle <me@mizore.fr>", "private": true,
"contributors": [{ "name": ""}],
"dependencies": { "log4js": ">=0.6.6", "gift": "*", "temp": "~0.7.0", "underscore": "*", "ncp": "*", "rmdir": "*"},
"bin": "./fetch.js",
"scripts": { "checkout": "node fetch.js"},
"repository": { "type": "git", "url": "https://github.com/VekiaOpenSource/vkl-graph.git"}
}
Hi I made this "compact mode" for myself. I share it with you, in case you want to include it in your branch. I didn't test it with comments, arrays, nor exotics things. The two parameters doesn't have their gui yet (don't understand how to modify it, and didn't have the time to learn it).
Thank you for this awesome plugin! Merill