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.89k stars 356 forks source link

Spade C++ reorder multiple functions at once breaks code #919

Open theiwaz opened 2 years ago

theiwaz commented 2 years ago

Environment

Description

Using spade to reorder multiple functions (by selecting multiple) breaks the functions. Only moves the function declaration line

Steps to recreate

  1. Open CPP/CXX file
  2. Open spade
  3. Drag function to new position
  4. to recreate

Current behavior

See Description

Expected behavior

It should move the selected functions and not break the code.

codecadwallader commented 2 years ago

Thanks for reporting the issue. I have not been able to reproduce it. Can you please provide a minimal solution that exhibits the issue?