15
votes

I've been widely making use of the Complete Class at Cursor function in Delphi, in 2010 and in XE2. Recently, after installing Update 4 for XE2, the Complete Class at Cursor stopped working. After doing some research, I found that uninstalling "AQTime" would fix the issue. So I did that (had to re-install Delphi just to remove it) and sure enough it started working again.

Except, today, it suddenly stopped again. AQTime is not installed, and I haven't done anything in the IDE at all which (as far as I know) could possibly cause this. I haven't installed/uninstalled any packages, changed any library paths, not even changing any settings. It just suddenly stopped working in the middle of my development. Was working one minute, and not the next. I've restarted Delphi, restarted my PC, and even tried in a brand new project. It just will not work anymore.

Anyone know why this stopped working? How can I make it work again? It's an extremely helpful tool which I use all the time.

4
I don't know why... as a kind of workaround, you can setup cnpack which has is own completion :/Whiler
The problem seems to be on and off, it's just random as far as I can see. I don't see any patterns.Jerry Dodge
At least I can see the problem is per IDE instance. I might be working normally once, then it quits working. If I close/re-open RAD studio XE2, sometimes it starts working again, sometimes it isn't. Then a few days later it works again. Very strange.Jerry Dodge
Jerry I've been facing this same issue so I downloaded delphi distiller and disabled all packages related to AQTime, maybe even uninstalling it some bpls are loaded in your IDE and is causing the problem. Here it works fine.Diego Garcia
I have come across the same problem on several occasions and found that changing teh delay time makes no difference. Perhaps you should 'unaccept' the answer? It worked for you but it is not an objectove resolution. On that not either is uninstalling Smartbear AQTime.Trojanian

4 Answers

5
votes

Had the exact same issue in XE2/Update 4. Did the following (without uninstalling AQTime) and it came back.

Tools > Options >Editor Options > Code Insight

Verified the Code Completion was checked (it was), then changed the Delay to Low (was set to None) > OK

Code Completion in my IDE started working again.

6
votes

I had the same problem, but it was solved after uninstalling Smartbear AQTime from the windows uninstaller. (close Delphi first)

No need to reinstall Delphi.

1
votes

I was having the same problem in Delphi Berlin. None of the above worked for me. I also tried regenerating the .dproj file but that also did not help.

The one thing that has worked (so far) is installing the excellent IDEFixPack for Delphi Berlin. Delphi IDE Fix Pack

Please let me take this opportunity also for a quick moan. Code completion is an absolutely essential feature of Delphi and it is very slow and flaky at best. Embarcadero (if you are listening) - please focus on making these core features much more robust.

0
votes

Unstalling the AQTime8.20 integration in the IDE solve the problem for me too - used AQtime outside the IDE anyway.