Support for Apache Royale and AS3 HTML projects
Closed this issue · 3 comments
Now, this issue opens another topic regarding VS Code and extensions.
vscode-as3mxml supports:
In this extension, if I add support for Royale, why not for Feathers also, and so on. Also, if New Component is added, then we should have New MXML Component, New AS Component, New Royale Component, New Feathers Component...
Wouldn't that overload menus? Also, what if one only wants Flex&AS3 ?
Also, as flex-and-actionscript-extension-pack is created, adding other project types support in this extensions (which is part of flex-and-actionscript-extension-pack) would not be only Flex&AS3.
Also, if one is using Royale, all snippets from vscode-flex-snippets (which is also part of flex-and-actionscript-extension-pack) would be unnecessary.
As I remember, similar is the reason why @joshtynjala didn't implement this into vscode-as3mxml.
Yes, I could add settings for this extension, like enableFlex
, enableRoyale
, enableFeathers
, so user can enable/disable wanted ones, but probably this is not good way to do it.
So, probably the best way to go, for example for Royale, would be:
- create another extension like this one for Royale (Your First Extension and one can copy my code and change it a little bit)
- create Royale snippets extensions (or use royalesnippetsforvscode)
- and, if needed, create Apache Royale Extension Pack which includes vscode-as3mxml and those 2 extensions (very easy to do: How do I make an Extension Pack?)
Same would be for Feathers.
Hmm... I'll consider it. Is the flex-and-actionscript-extension-pack extension pack on the marketplace? If I make an extension pack can I put it on the market place?