Page 1 of 1

module, constant, autocomplete.

Posted: Thu Jun 08, 2023 2:51 pm
by jassing
works:

Code: Select all

#constant = "42"
Macro abc() : PrintN( #constant ; <=- Does autocomplete
works:

Code: Select all

DeclareModule abc
  #constant = "42"
  Declare.s xyz()
EndDeclareModule
Module abc
  Procedure.s xyz()
    ProcedureReturn #constant ; <=- Does autocomplete
  EndProcedure
EndModule
but combine the two, and it doesn't work

Code: Select all

DeclareModule abc
  #constant = "42"
EndDeclareModule
Module abc
  Macro xyz() : PrintN( #cons ; <=- does not autocomplete
EndModule
Nor does this:

Code: Select all

DeclareModule abc
EndDeclareModule
Module abc
  #constant = "42"
  Macro xyz() : PrintN( #cons ; <=- does not autocomplete
EndModule

Re: module, constant, autocomplete.

Posted: Thu Jun 08, 2023 5:55 pm
by #NULL
It seems to work here [on linux]. I get autocompletion in the last 2 examples when I backspace at the #cons or when I type it new after the brace (

Re: module, constant, autocomplete.

Posted: Thu Jun 08, 2023 6:19 pm
by jassing
I'm using win x64, Pb 6.02x64
Maybe it's a windows thing.