Strange and broken auto-completion behavior

Post bugs related to the IDE here
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Strange and broken auto-completion behavior

Post by Mistrel »

I'm having some strange, broken, and inconsistent auto-completion behavior.

This code works:

Code: Select all

DeclareModule ModuleA
  Interface InterfaceA
    methodA()
    methodB()
    methodC()
  EndInterface
EndDeclareModule

Module ModuleA
EndModule

a.ModuleA::InterfaceA
a\
Adding a new interface which extends it (usually) breaks auto-completion:

Code: Select all

DeclareModule ModuleA
  Interface InterfaceA
    methodA()
    methodB()
    methodC()
  EndInterface
  
  Interface InterfaceB Extends InterfaceA
  EndInterface
EndDeclareModule

Module ModuleA
EndModule

a.ModuleA::InterfaceA
a\ ; <- no auto-completion
Sometimes it works if you futz with it enough. But then things get weird. This is a different variable in a different file with a completely different interface:

Image

It should be completing something different here.

Actually, I deleted all of the "defines" and assignments and it still auto-completes even though the variable should be .i by default. Auto-completion is entirely broken now.