fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
818 stars 219 forks source link

AS3 Meta #1952

Open SandersAlex opened 6 years ago

SandersAlex commented 6 years ago

When you click on the opening square bracket, you do not see any options for creating a "meta" for the class. Example:

[Style(name="...", type="...")]
[SkinState("...")] etc

What we see: nothing

package 
{
    import flash.events.EventDispatcher;

    [
    public class Example extends EventDispatcher 
    {

        public function Example() 
        {
        }       
    }
}
Neverbirth commented 6 years ago

I started working on this time ago, and added most of the support, but then stopped it because there were some UX concerns, as metadata support should be flexible (what I did is flexible, but I was blocked on a proper UI, because mine was not the most ideal for some cases). If anyone is willing to work on this I can be contacted to show what I did, all the code, etc.

SandersAlex commented 6 years ago

It could be put as an option. I would gladly have it, it greatly simplifies the complex development without remembering which meta and by what rules to write. You can easily put, offer the most maximum option for each meta, and let the man himself think how to correct it.