4 ms·
It’s kind of janky, but my current strategy is to parse my code base with libclang and dump a vim script file that adds all of the types, enums, function declar
by david2ndaccount 5y ago
It’s kind of janky, but my current strategy is to parse my code base with libclang and dump a vim script file that adds all of the types, enums, function declarations etc. as literal syntax keywords. I also generate a tag file at the same time.
- antoinealb 5y agoDo you have the code for this or a writeup somewhere? I'd be interested in trying out this approach.
- david2ndaccount 5y agoI extracted it out of one of my projects and put it into its own git repo here: https://github.com/DaveP1776/clangtags https://github.com/DaveP1776/clangtags There’s still some project-specific stuff baked in, but that’ll show the idea.