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

Option to make columns wider #56

Closed
pk1954 opened this issue Feb 28, 2020 · 5 comments
Closed

Option to make columns wider #56

pk1954 opened this issue Feb 28, 2020 · 5 comments

Comments

@pk1954
Copy link

pk1954 commented Feb 28, 2020

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

tyoma commented Feb 28, 2020

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.

@pk1954
Copy link
Author

pk1954 commented Feb 29, 2020

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

tyoma commented Mar 2, 2020

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 added a commit that referenced this issue Apr 1, 2020
- calibration iterations count rolled back.
tyoma added a commit that referenced this issue Apr 1, 2020
- calibration iterations count rolled back.
@tyoma
Copy link
Owner

tyoma commented Apr 1, 2020

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!

@pk1954
Copy link
Author

pk1954 commented Apr 1, 2020

It works. Thank you.

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

No branches or pull requests

2 participants