Copy link to clipboard
Copied
I'm thinking I see a lot of code samples with
this
of course the only reason I can see people actually type this is for the auto-complete since it doesn't work when just start typing the prefix part or a space like it does inside an element in mxml
sure ofter they have a simple argument with the same name at the classes varialbe the want to set so the say things like
this.scaleX = scaleX
not my favorite.
I prefer to avoid the unessecary this in my code.
Anyway it seems to me that typing initially should provide auto-complete options list with things in the current context so you don't have to type this dot, autocomplete, and then go back and delete the 'this' reference constantly.
Copy link to clipboard
Copied
Try CTRL - Space