Autocomplete procedure parameter variables

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Autocomplete procedure parameter variables

Post by Foz »

Um... as the title says...

I've gotten into the habit of prefixing my passed in variables with a "p", so I can identify them, for instance:

Code: Select all

Procedure LoadConsignment(pConsignmentID.l)
  ; pConsignmentID isn't recognised here
  
  Protected ConsignmentID.l
  ; but this local ConsignmentID is
EndProcedure
Could this be added to the auto complete feature?

Please? :)