Cevelop / cevelop

The C++ IDE for professional developers
Eclipse Public License 2.0
6 stars 0 forks source link

feature request: Query language for AST/Index #16

Open WisniewskiP opened 6 years ago

WisniewskiP commented 6 years ago

Expected Behavior

I would like to have some possibility to query source code. I would like to ask for example:

this tould help me to get to know a legacy code and to look at the structure of the code and how it develops.

Actual Behavior

At this moment I can only search for references.

Cevelop Version, Operating System and Compiler

N/A

tcorbat commented 6 years ago

That seems to me like a very useful feature when you are new to a codebase at hand or need to look for specific code patterns. Previous attempts have shown that comming up with a generic language for expressing such things quickly becomes too complicated to use and slow when it is too powerful. However, the target audience was refactoring tool and plug-in developers. We could try to come up with something more enduser oriented that goes beyond the C/C++ Search inherited from CDT.

Thanks for the suggestion, I like the idea!