With no dots, If a unit is not found, the ide shows the line of the resulting error. However with dotted unit names, sometimes the line number is shown, sometimes it not shown. Is it a bug of some sort?
unit unit1.namespace;{$mode objfpc}{$H+}interfaceuses Classes, SysUtils;var M1 : string = 'M1';implementationuses Dialogs, unit1_b; <<<<<<<<<<<<initialization ShowMessage(M1B);end.
Sorry if I was not clear enough. The problem is that the IDE will not jump into this line.
Also, why lazarus will rename the unit names only in the .lpr file? Why not renaming all of them?
Maybe the problem occurs right after you use the "Save As" command?
Because most people do not want that, because unit x is something else as unit x.z and I may need both....
And all renaming and deleting should be done from a terminal window or a filemanager...... (outside of Lazarus...)