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.88k stars 353 forks source link

Spade crashes VS easily and display members wrong. #975

Open ylqgithubylq opened 1 year ago

ylqgithubylq commented 1 year ago

Environment

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

codecadwallader commented 1 year ago

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.

ylqgithubylq commented 1 year ago

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.