Example:
- open project with file a.y, hence auto-generated file a.parser.cc and a.parser.hh (according to precompiler rule)
- change the .y precompiler rule to create dependency files $file_name.parser.c and $file_name.parser.h (i.e. change of file extension), close the precompiler config dialog and save the config changes to default.conf
- reparse the project
- issue: set of auto-generated files not updated in project explorer frame
Workaround: close and reopen project
The "reparse the project" context menu is a feature from "CodeCompletion plugin", it is not related to compiler plugin.
Understand.
I think this is still a bug - or a potential enhancement at least - that the list of auto-generated files in the file explorer is not updated when the compiler dependency rules are updated.
Can you upload a sample project? And please post the exact steps needed to reproduce the problem. I have no idea where is this precompiler config dialog.
Attached a minimal compilable example requiring
flex.exe
:Example
Result
Summary
After changing precompiler rules
the displayed set of auto-generated files is not updated in the project view
the compiler does acknowledge the change of the precompiler rule (supposedly since read at compile time) ...OK
* the compiler does not internally update the auto-generated file list
Related bug reports:
Related
Tickets: #535
Tickets: #538