Skip to content

ActionScript & MXML language extension for Nova's Panic based upon Bowler Hat's vscode-as3mxml. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.

AmigaAbattoir/nova-actionscript3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActionScript 3 Extension for Panic's Nova

Extension for ActionScript 3 and MXML in Panic's Nova using Bowler Hat's AS3MXML as an LSP (which only works if there's an asconfig.json in the directory). And uses Panic Nova's tasks cleaning/building/running.

More details about AS3MXML are in the as3mxml.novaextension README.md

Currently a work in progress. Issues work, and some features like Jump to Definition work occasionally.

Syntax check

The syntax provided with the AS3MXML is not to Nova's liking and doesn't fully recognize things, need to reworked.

I stared working on using the Syntax XML from Panic's Javascript extensions, and have made a bit of progress.

  • May need to check variable names. Think JS doesn't allow $ in the name, but AS3 does

Notes

About AIR Building

About AIR ADL command line

FlashBuilder migration

The Pure JavaScript XML (pjxml) is used to help migrate some of the FlashBuilder setting to Nova.

May be switching to a modified version of alabianca/xml-to-json or recalcitrantQ/xml-to-json to handle the XML to JSON. The Pure JavaScript XML sometimes fails on mobile project that may have multiple build targets

A lot of the settings from Flash Builder will be imported to the workspace's settings.

@TODO

  • Import Flash Builder project when opening the first time.
  • Try to automatically add a task to the project (based on AIR/Mobile/Web)

For now, you need to manually add a Task, and then run the command from the menu command will log to console what the settings should be.

.flexProperties

Only using this to set if the project's Default Syntax is either MXML or ActionScript 3.

.actionScriptProperties

Used to grab some things used for a task like:

  • Main application path
  • Source dirs
  • Lib dirs
  • Additional compiler args

.flexLibProperties

Not read yet.

.project

It will read this and rename the Nova project to the same name as the FlashBuilder project.

@TODO: If there is a tag of <linkedResources> with a <type> of 2, then warn the user that these types of links are not supported.

About

ActionScript & MXML language extension for Nova's Panic based upon Bowler Hat's vscode-as3mxml. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.

Resources

Stars

Watchers

Forks

Releases

No releases published