Giter Site home page Giter Site logo

Comments (4)

joshtynjala avatar joshtynjala commented on May 23, 2024

Do you have the as3mxml.sdk.editor setting configured to point to a previous Royale SDK?

from vscode-as3mxml.

brianraymes avatar brianraymes commented on May 23, 2024

I had an earlier 0.9.11-SNAPSHOT. Updated to the latest and it still fails.

Can you remind me the difference between the following two settings?

  • as3mxml.sdk.framework
  • as3mxml.sdk.editor

I have them both set to the same thing.

from vscode-as3mxml.

joshtynjala avatar joshtynjala commented on May 23, 2024

as3mxml.sdk.framework

This one is like choosing a particular Flex/AIR SDK in other IDEs, like Flash Builder or whatever. It tells the extension which SWCs to load, which compiler to use for building, etc.

as3mxml.sdk.editor

This is is more advanced. It tells the extension to use the Royale compiler .jar files from a particular SDK for code intelligence — instead of the .jar files bundled with the extension. In general, you don't need to use this setting unless:

  • Royale introduces new AS3 syntax that you want to use early
  • A bug in Royale is affecting code intelligence and you can't work without the fix

Since Royale just had a release, there's not much to gain by using this setting right now.

I had an earlier 0.9.11-SNAPSHOT. Updated to the latest and it still fails.

Are you building from source? Did you rebuild royale-asjs only, or did you also rebuild royale-compiler too? Even if you have the latest framework, it could be that your compiler is out of date.

Or did you download a nightly .zip/.tar.gz? I just checked the CI server, and it appears that nightlies haven't been built since January, for some reason. With that in mind, the official 0.9.10 release is actually newer than the latest nightly.

from vscode-as3mxml.

brianraymes avatar brianraymes commented on May 23, 2024

I build all three (compiler, typedefs, and asjs) whenever I update.

I went ahead and removed the as3mxml.sdk.editor config line and only have as3mxml.sdk.framework, and now it seems to work as expected.

from vscode-as3mxml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.