Open vladimmi opened 1 year ago
Starting off, code completion and other features use the dparse library very heavily (imported from 20+ modules). That library can't parse c files.
As I believe the D compiler frontend emits a D AST for C source code, I have some ideas:
Take them with a grain of salt, I'm very new to this project.
At this point both DMD and LDC support compilation of C modules, automatically invoking external preprocessor for them if needed (DMD for some time, LDC since 1.33-beta2 version), dub also can treat C modules as part of project for building. Is it theoretically possible to have IDE support for this? I mean resolving C modules, having C functions in suggestions/goto, etc.