0
Under review

New units are not taken into account

Uwe Schuster 10 years ago updated by Roman 10 years ago 1
Unsaved changes in the Code Editor are taken into account, but new units, which does not yet exist on disk are not taken into account.

Steps:
- create a new app
- add something to the code that is supposed to generate a FixInsight warning
- run FixInsight

Expected: the supposed warning is generated
Actual: no warning is generated

- save the project
- run FixInsight again

Expected: the supposed warning is generated
Actual: as expected
Under review
It is something I stuck with. IDE's OTAProject.GetCompleteFileList method doesn't work for newly created projects. That's why FixInsight doesn't see such units. I'm still looking for a workaround.