Open manutoo opened 8 years ago
Thanks for reporting the issue. There currently isn't any special handling logic for C++ macros so that will require new implementation.
Would it be long to implement ? (ie: is it something I could hope to see someday ? :) )
It's never bad to hope, but I don't make any promises. If you're really interested in this feature, I recommend diving in and seeing what you can learn/do to speed it along. http://www.codemaid.net/contribute has some introductory information. :)
Same here, sometimes Spade (C++, VS2015 u3, CodeMaid 10.3) is changing some methods by macros inside them. Do you know is there is someone working on this?
Not to my knowledge, please feel free to help pitch in!
Environment
Description
I'm using Macros and Spade shows them like they were functions, and thus doesn't show the function containing the Macros, making Spade nearly useless
Steps to recreate
2 different kinds of macro :
define ForLoopD(x, NbStep) for (int x = 0; x < (NbStep); ++x)
usage : ForLoopD (j, 10) { /* do something */ }
possible fix (?) : if there's no parameter before an unknown name, it's probably a macro and not a function
define Ini C3dEngine::m_pIniFile
usage : Ini->SetValue(Section, Entry, 1);
possible fix : no idea :P