• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

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
0
asi
Asked:
asi
1 Solution
 
D-MasterCommented:
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
0
 
Stuart_JohnsonCommented:
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.
0
 
kretzschmarCommented:
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 ;-)
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
asiAuthor Commented:
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.
0
 
Stuart_JohnsonCommented:
Mm.  Sounds like a classic case of uninstall and reinstall again.  Something's definately gone wrong..
0
 
TOndrejCommented:
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).
0
 
asiAuthor Commented:
TOnDrej : this is not the case
0
 
pnh73Commented:
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
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now