tyoma/micro-profiler

Option to make columns wider

pk1954 opened this issue · 5 comments

In every MicroProfiler session my first activity is to make the columns wider. Initially they look like this:
image
I want them to look like this, so that I can read the numbers and the units:
image
Ok, it doesn't take more than a few seconds to doubleclick the header separators, but it would make an already very good user interface a little bit more practical. I understand, that my preference cannot be the default behaviour. Maybe a simple button "expand columns" or something like the Excel way, mark several columns and expand them with a singe doubleclick.
... Would be a nice improvement

tyoma commented

This is actually a defect - I had columns width saving logic in a standalone version, but apparently it got broken when sharing the code with integrated frontend.

Saving user preferences is of course the optimal solution. I'm looking forward to you getting it working again.
By the way, where do you store user preferences? In the registry, in user\AppData? I've been looking for different methods and have not yet found something that completely convinces me.

tyoma commented

The settings are historically been persisted it in the registry under: HKEY_CURRENT_USER\Software\gevorkyan.org\MicroProfiler
But in the VSPackage the storing logic got broken, so the columns take their widths (and names :) ) from registry, but never update it.
You can play with those settings and see the result in VisualStudio.
For VSPackage I plan to update settings to be stored in persistence bags that Visual Studio offers to its plugins.

tyoma commented

Hi Peter!

Please, check out for this release: https://github.com/tyoma/micro-profiler/releases/download/v1.6.619.0/micro-profiler.v1.6.619.0.vsix - it has the issue fixed. If so, please close it.

thanks!

It works. Thank you.