controlflow / resharper-heapview

ReSharper Heap Allocations Viewer plugin
MIT License
303 stars 28 forks source link

Ability to enable/disable without restarting #72

Closed giuliano-barberi-tf closed 1 year ago

giuliano-barberi-tf commented 4 years ago

I often would like to enable/disable the heap allocations without restarting the entire IDE. I understand this is currently done at the plugin level hence why the IDE restart is required but I'm wondering if it's possible to add an option for the plugin to show them instead. In most places I might not care about allocations so it's mostly noise, then I get into a part that I need to determine if it's allocating and it requires me to restart the IDE, the workflow would be much better if it was a quick toggle that I could reach from the "Actions" menu instead.

roji commented 3 years ago

This would indeed be very helpful - allocations highlighting isn't relevant for all coding, or for all projects. Similarly, the ability to tweak the plugin configuration (don't flag obvious allocations) could be useful.

It would also be useful to be able to configure the plugin on a per-project basis (e.g. in the team or personal settings files). Some projects are very allocation sensitive, while others aren't.

controlflow commented 1 year ago

I've added simple options page to temporary disable/enable allocations view:

image

I'll review other ways to configure the plugin, thanks for reporting this!