codemaid
codemaid copied to clipboard
Error HRESULT E_FAIL has been returned from a call to a COM component.
Environment
- Visual Studio version: 2022 Community
- CodeMaid version: 12.0
- Code language: PHP
Description
This is the first time I have ever used CodeMaid. I simply right-clicked in a PHP document and clicked on CodeMaid > Cleanup Active Document. Should I just hang myself or what's going on?
Steps to recreate
- Right Click
- CodeMaid > Cleanup Active Document
Should I just hang myself
I would not recommend it.
Do you have a minimal solution you can share that exhibits the issue? Alternatively if you want to enable CodeMaid->Options->Diagnostics->Diagnostics mode this will generate some diagnostic logs into the Output tool window under the CodeMaid pane. Those may be helpful.
Should I just hang myself
I would not recommend it.
Do you have a minimal solution you can share that exhibits the issue? Alternatively if you want to enable CodeMaid->Options->Diagnostics->Diagnostics mode this will generate some diagnostic logs into the Output tool window under the CodeMaid pane. Those may be helpful.
I enabled Diagnostics mode, but where do I see the output? In happens in every file I have tried so far. All files are from WP plugins.
There's an Output tool window that by default will by alongside the Error List. If it isn't there, I believe you can re-activate it through the View menu.
Once you have found that tool window there is a drop down of different panes (following the window metaphor) from different sources. One of those sources should(tm) be CodeMaid.
Hope it helps!
There's an Output tool window that by default will by alongside the Error List. If it isn't there, I believe you can re-activate it through the View menu.
Once you have found that tool window there is a drop down of different panes (following the window metaphor) from different sources. One of those sources should(tm) be CodeMaid.
Hope it helps!
It's like I asked you for directions to some place and you said, "You go North for 1 mile then take a left, then about 2 blocks down you take a right, then it's right there on the left." Cool. So, like, where is the starting point? I mean, those directions mean absolutely nothing without knowing the starting point.
Oh, the error list, which is by the output tool, which is by the error list. Oh, now I know right where it's at, because I totally know where the error list is.
To activate the Output tool window select View->Output from the menu:
To see the CodeMaid pane select CodeMaid from the dropdown:
Hope it helps.