Page 1 of 1

[Done] Strange and broken auto-completion behavior

Posted: Fri Oct 18, 2019 4:11 am
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.

Re: [Done] Strange and broken auto-completion behavior

Posted: Sat Feb 22, 2025 9:04 pm
by Fred
Already fixed in current release