Pure-D / workspace-d

CLI deprecated, API + functionality moved into https://github.com/Pure-D/serve-d
MIT License
75 stars 15 forks source link

Support meson projects #101

Closed WebFreak001 closed 2 years ago

WebFreak001 commented 4 years ago

Provide auto completion of files as specified in the meson file + dependencies

cc @Vild

Cogitri commented 4 years ago

I guess this should be done via compile_commands.json which lists all includes (and other compile flags) for each compilation unit. This file is way better for machine parsing than the meson file and compile_commands.json is also supported by other build systems (e.g. CMake)

Cogitri commented 4 years ago

Here's a sample compile_commands.json (as TXT since GitHub doesn't like .json files): compile_commands.txt