molsonkiko / JsonToolsNppPlugin

A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion.
Apache License 2.0
93 stars 10 forks source link

How to increase the plugin "Tree View" font size? #66

Closed PeterCodar closed 4 months ago

PeterCodar commented 6 months ago

Currently, the Notepad++ plugin appears in a really tiny font in my environment:

image

How can I increase the font size to make it easier to read the JSON details in the “Json Tree View” on the left-hand side?

molsonkiko commented 6 months ago

@PeterCodar

That seems like a reasonable request. I'm going to try to work on it today.

Do you think the font for any other forms (or fields of forms) in JsonTools should be configurable, or just the font size for the tree view?

Grisgram commented 5 months ago

Hi,

I would also really love to see a config for the font, and while you're working on that part:

PeterCodar commented 5 months ago

@molsonkiko Sorry for my late reply. For some unknown reason, I did not receive a notification for your comment.

Where can I find your "probably fixed version" to test it?

The font size for the tree view would be my most important wish, but If you can adjust the forms too, it would be of course appreciated too.

molsonkiko commented 5 months ago

@PeterCodar

Where can I find your "probably fixed version" to test it?

I made a commit about three weeks ago, but I never got around to making an official release that incorporated the change. I'm going to try to make a new release within the next week that incorporates the change. Sorry for the delay!

@Grisgram

can you make the {} icons of the tree transparent please?

I can't make the icons "transparent", because the background of the icons is part of the image files that the icons are derived from.

What I can do is create dark mode icons, use dark mode icons when the Notepad++ background is "very dark" and the old "light mode" icons the rest of the time.

Below is an image of the new dark mode icons in the "Vim Dark Blue" Notepad++ theme. You will notice that the icon background is not exactly the same as the tree background (because, again, this is impossible), but it is dark and so the icons look less out of place.

image

I have also tested the dark mode icons on the normal background for Notepad++ dark mode; the background blends in seamlessly.

molsonkiko commented 4 months ago

This feature is added in JsonTools v8, the most recent release.

Grisgram commented 4 months ago

Thank you! When will it be available through the regular Plugins-Admin channel?

molsonkiko commented 4 months ago

JsonTools v8 is in the most recent version of the plugin list, which will ship with Notepad++ 8.6.9, which should be download-able in a week or so.