codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Spade crashes VS easily and display members wrong.

Open ylqgithubylq opened this issue 2 years ago • 2 comments

Environment

  • Visual Studio version: Microsoft Visual Studio Enterprise 2022 (64-bit) Version 17.4.4

  • CodeMaid version: 12.0

  • Code language: C++

Description

  1. Spade crash VS easily.
  2. Spade display members incompletely and in wrong order.

Steps to recreate

The sample code I used: image

and we can see Spade works incorrectly. image

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

ylqgithubylq avatar Jan 28 '23 11:01 ylqgithubylq

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.

codecadwallader avatar Feb 12 '23 19:02 codecadwallader

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:

  1. A default console C++ project.
  2. 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.

ylqgithubylq avatar Feb 13 '23 06:02 ylqgithubylq