Link to home
Start Free TrialLog in
Avatar of asi
asi

asked on

delphi IDE code completion


I"m using delphi 5
recently the code completion isn't work properly.

When i press the [Ctrl]+ [Space] i got error message:

"Unable to invoke code complation due to errors in source code"

I know that there are no errors in code , since the compile pass without any problem .

thank u
asi
Avatar of D-Master
D-Master
Flag of Palestine, State of image

hi

I think this is a bug in Delphi 5, coz since I started using it and this error "Unable to invoke code complation due to errors in source code" appears......

notice that when the source of the unit "Small" this error doesn't appear but if the source "Big" it appears :)

DM
Avatar of Stuart_Johnson
Stuart_Johnson

I don't get it on any of our stupidly huge units (15000+ lines).  Try doing a build instead of a compile and see if you get any errors then.  Maybe the error is nested in a unit which doesn't need compiling.
Avatar of kretzschmar
had also no problem with this,
and if i get such a message,
then there was also a little syntax-error,
means the message was correct

meikl ;-)
Avatar of asi

ASKER

the strange is that after i get this message i"m doing a compile and then its looks like the code competion works.
But after i make a small change (like just press enter) i re-get this message.
Any way its not a solution to make every time compile just to active the code completion for a short time.
ASKER CERTIFIED SOLUTION
Avatar of Stuart_Johnson
Stuart_Johnson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
One case when this happens is when you invoke code completion on a unit which is not used by your currently active project (whether your project compiles or not).
Avatar of asi

ASKER

TOnDrej : this is not the case
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Answer from Stuart Johnson

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer