![]() !.CodeCleanupManager.RunCodeCleanupCSharp(EnvDTE.Document document) Line 230Ĝ# Please check that setting, and other extensions and I suspect we can figure out what the infinite loop is in your case. really by the time you get to that point things have already gone wrong so it's more of a symptom than a cause. The "cancel" button dialog is directly from Visual Studio, so it isn't something we can directly influence. The same infinite loop workflow can also happen if there are other extensions that are both monitoring and triggering save events. Some users say it's not a problem for them since older versions (VS2012/VS2013). I'd recommend making sure that is still off if you have turned it on. If you look in our settings, there's an option (off by default) at CodeMaid->Options->Cleaning->Visual Studio->Run remove and sort using statements->Skip during automatic cleanup on save that was specifically created because of this scenario. Visual Studio processes "remove and sort using statements", triggering a save.CodeMaid setup to automatic cleanup on save, kicks in and starts cleaning up and triggers "remove and sort using statements".Visual Studio starts a rename operation, as part of that operation, Visual Studio triggers a save. ![]() What I suspect is happening is an infinite loop between Visual Studio, CodeMaid and potentially other extensions. ![]() Thanks for reporting the issue and the additional details. It would be nice if you could at least fix it, so that the cancel button would work, so that we don't have to kill Visual Studio when this happens.įYI: I originally thought this was a bug with Visual Studio, and logged the bug here but since disabling code maid makes the issue go away, I'm going to assume this is a bug in code maid for now. □Īdditionally, when the hang happens, after I restart Visual Studio, I get a message about my settings file being borked up, and all my toolbars get reset to default (which is even more annoying I'd basically given up on customizing my toolbars, because the setting will just get lost the next time VS would crash). Which is super unfortunate because I really like using code maid. (This has happened about 4 times to me in a 3 hours period on 8/28 - and several times a day for the prior week - Disabling the Code Maid extension on that date has made the problem go away for me since then. There is a cancel button, but it is not functional.Īt the VERY least, please make the cancel button functional, because having to force stop Visual Studio every time it decides to hang is super annoying. Often times when renaming something in Visual Studio (via the CTRL+R, R chord), it will get completely stuck and just hang forever.Ī little window comes up that says "Please wait for an editor command to finish." and it just goes forever. Visual Studio version: Enterprise 2017 15.8.2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |