Code browsing is not working for my project. I set the Search Path to all the Source units that I am using. And also I deleted the .local
and .identcache
files. My project is compiling with no problems. What can I do to make ctrl + click
work.
Thanks
One bug that I am aware of occurs when you have a class which declares a record inline, as so:
TMyClass = class
private
FData: record
MyData: Integer;
end;
end;
If you have any code like this then many of the IDE's code insight/completion/whatever features stop working. This fault stretches right back to Delphi 6 and possibly beyond.
I fix it with an class private type declaration:
TMyClass = class
private
type
TData = record
MyData: Integer;
end;
private
FData: TData;
end;
But if that syntax is not available in D2007 then you'd need to declare the record type outside the class.
Another factor which I find can confuse the IDE is if you are using a lot of conditional statements ($IFDEF
and the like).
Finally I'd recommend installing Andreas Hausladen's IDEFixPack which does improve IDE behaviour.
Of course, your problem may be caused by something else, but without being able to experiment with your actual code, we have to guess to a degree.