module, constant, autocomplete.

Post bugs related to the IDE here
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

module, constant, autocomplete.

Post 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
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: module, constant, autocomplete.

Post 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 (
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: module, constant, autocomplete.

Post by jassing »

I'm using win x64, Pb 6.02x64
Maybe it's a windows thing.
Post Reply