codemaid
codemaid copied to clipboard
Spade crashes VS easily and display members wrong.
Environment
-
Visual Studio version: Microsoft Visual Studio Enterprise 2022 (64-bit) Version 17.4.4
-
CodeMaid version: 12.0
-
Code language: C++
Description
- Spade crash VS easily.
- Spade display members incompletely and in wrong order.
Steps to recreate
The sample code I used:

and we can see Spade works incorrectly.

Current behavior
Crashes easily when click the members (especially for functions) in Spade window. The order of members may change in Spade window when playing with the code (add some functions, modify return type, add template, restart VS, etc.). And I'm not sure when and how it will change. Members for two almost identical classes are displayed differently.
Expected behavior
Thanks for reporting the issue. Can you please provide a minimal solution that exhibits the issue?
We do have some sort options available that can change the order, but from a glance I don't see any apparent sort order being applied.
Sorry the demo project I used was deleted and I don't have the code now. But that is a simple project with 2 files. You can create it easily:
- A default console C++ project.
- One is the .h file which I showed earlier in this thread, another is the .cpp file which is empty except the empty main function.
And, I think I haven't changed the sort order related settings of Codemaid.