Code Complete Won't work.

I have a Class object that is global, yet the code complete doesn’t work. I manually typed in one property but if I hit tab it will not show me all of the class properties???

need more details that this to be able to guess whats up

What code are you trying to type in ?
Whats the class name ?
Are you trying to use a class instance or the class itself ? (you can only use shared if you refer to the class itself)

here I quickly created a new Class, Class1, added some properties
Then in the Window1 open event I put

Dim c As Class1

c.<tab>

and all the public properties I’ve defined are shown

Using instance, class is clRegPrice

Instance is

RegPrice = New mdGlobals.clRegPrice (mdGlobals is a module)

In session Open

Typing RegPrice. <<< No autocomplete, if I type property in it works as expected when run.

Scope on all properties is public. This is the same class you helped me with yesterday.

let me whip up a little local sample and see if I can reproduce this

edit : are you just trying to set the property value in the instance ?

ah interesting - looks like theres a bug - try clicking in the code editor right after the period
here that seems to tweak things and then autocomplete shows the properties

I can report it but I cant fix it :frowning:

Clicking did nothing, and was trying to read the property.

well … what does the exact line of code you’re having issues with look like ?

if you write

regprice.<tab>

this is where I saw I needed to click and the n the autocomplete list showed

but here my property is cleverly named “someProperty” and its an integer
and if I write

dim i as integer = regprice.<tab>

the autocomplete list showed without clicking

I’m using 2018r4 on macOS 10.12

As it was mentioned again and again: You type, autocomplete works. You type, autocomplete doesn’t work. You type, autocomplete works again. Not reproducible. Trick with … also doesn’t work.

It definitely doesn’t work in Win10. Only after typing TWO dots, backspacing to one.

I’m using I’m using 2018r4 on macOS 10.14 and I can’t get it to work at all.

Just tried the beta, same problem.

[quote=428577:@Norman Palardy]well … what does the exact line of code you’re having issues with look like ?

if you write

regprice.<tab>

this is where I saw I needed to click and the n the autocomplete list showed

but here my property is cleverly named “someProperty” and its an integer
and if I write

dim i as integer = regprice.<tab>

the autocomplete list showed without clicking

I’m using 2018r4 on macOS 10.12[/quote] thats amazing it’s working for you but for all my macs and windows it’s not working?

2018r4 is where the bug is in.

If mymodule.[tab]

Not working, requires a mouse click at the end of line to refocus or double dot and backspace to be able to use tab.