[Lazarus] Refactoring sometimes does not work - known issue or bug?

Vincent Snijders vsnijders at vodafonevast.nl
Tue Mar 9 20:23:27 CET 2010


Aleksa Todorovic schreef:
> Hi, all!
> 
> I'm porting my project from Java to FPC/Lazarus, and work a lot in
> Lazarus. I'm used to really great Refactoring features of Eclipse, and
> hope Lazarus will have them one day. Now, the problem I have:
> 
> Sometimes, when I try to use Rename Identifier (or Find Identifier
> References - it seems like those two features use the same code), I
> get an error in output window "TCodeToolManager.InitCurCodeTool
> MainCode=nil". Is this known bug, or should I do little more
> investigation and report it to Mantis? Note that I use lot of include
> files, which probably cause identifier-search engine to go crazy.

Do the code tools understand what file included the include file? Does 
Search -> Goto include directive work?

If not, open the main file yourself and try again.

Vincent




More information about the Lazarus mailing list