goblint / GobPie

Goblint IDE integration via MagpieBridge
MIT License
7 stars 4 forks source link

Analyse files according to compilation database #16

Closed karoliineh closed 2 years ago

karoliineh commented 2 years ago

GobPie now analyses files according to the compilation database instead of individual opened or saved files.

These two fields are mandatory.

The configuration file also includes a field to get the commands for building a compilation database. This feature was added because if compilation database creation is not done automatically, it is pretty annoying-confusing when the analysis does not run on the newly created files and the user should build the compilation database manually each time they create a new file (not too user-friendly). This approach is not optimal, but for now, it is better than nothing.