codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.92k stars 363 forks source link

[Feature Request] Ability to disable Spade autorefresh #633

Open ianfisch opened 5 years ago

ianfisch commented 5 years ago

Environment

Description

I absolutely love CodeMade Spade, however, lately I've noticed that none of the Visual Studio intellisense functionality works during a CodeMaid Spade refresh.

This issue may have started with Visual Studio 2017, as I was using 2015 previously, or perhaps it was there all along, but refreshes simply take longer in 2017, so it's more noticeable. I'm not sure.

Anyway, this means that if I try to write code during the Spade refresh, Visual studio doesn't recognize any of the names of variables nor methods nor classes anywhere in the solution, making it very difficult to write code during the 5-10 second Spade refresh.

I would really appreciate it if there was a way to disable the Spade autorefresh functionality, so I wouldn't have to wait around, unable to effectively write code, for ~10 seconds every time I save changes.

It's a small thing that would really improve my workflow.

Thanks again for what you've created.

-Ian Fisch

codecadwallader commented 5 years ago

Thanks for reporting the issue and I'm glad to hear you're otherwise loving CodeMaid. I am not able to reproduce the issue (IntelliSense works as normal for me while Spade is refreshing) either when Spade automatically refreshes from Save or when manually refreshes by clicking the button.

Here's a gif of my attempt: 2019-03-28_10-19-10

Out of curiosity, are you seeing high CPU utilization when this issue happens? I could imagine if the CPU is throttled that one could impact the other.

Either way I think a setting (on by default) to control if Spade is automatically refreshed on save is a pretty reasonable request and I'd be open to that, but I offer the above in case it helps us find a more direct solution.

AdriRed commented 5 years ago

Environment

Description

Newer to CodeMaid here! (and I love it too!) My problem isn't about IntelliSense, its about what you said @codecadwallader.

My computer performance isn't the best and I'm working on a big project. The case is that when I save file or i made some big change in the code, Code Spade updates and it freezes Visual Studio about 10 sec.

I would really appreciate too about the additon of Disable/Enable Autorefresh setting on Code Spade!

Thanks in advance and for your outstanding tool!

sadikerd commented 4 years ago

That is wonderful idea. When i was searching this option on the internet, i saw you were thinking to do that :)