• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Auto Complete with no prefix dot for current context like this.scaleX

Community Beginner ,
Mar 28, 2011 Mar 28, 2011

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.

Views

456

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 28, 2011 Mar 28, 2011

Copy link to clipboard

Copied

LATEST

Try CTRL - Space

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines