I don´t know why, but RC2 when I choose events onclick, onbefore[it],... sometimes (not all time) in uses interfaces section add units like DB, Grids, Forms... again! Not a probleam, just remove duplicates and will be OK for some time.
I think that is a parse problem, because I like to my 'use' like that (one per line):
uses
classe.nfe;
I build my lazarus from git.
Not my area of expertise, but I don't think line breaks are the issue.
Dotted unit names "casse.nfe" are a relatively new feature.... So could be (but don't know).
If it happens, please bug report and include the following info in your report:
1) Install the package "Cody" / it needs to be installed when the issue happens
2) When the issue happens, while the unit that has gotten the duplicates is the active tab, go to menu:
View > Ide Internals > Show code tool node info
And copy the info from all tabs in the window that opens.
If you are using 3.0RC2 with a version of FPC other than 3.2.2 then make sure to mention this.
Please note that the above collected info includes your sources.
You may therefore either want to supply it in a "private comment" to the bug report, if you do not want it to go public.