I've set up SWF libraries in my current IntelliJ IDEA project.xml
with preload
/ generate
/ embed
all set to true
. I can instantiate the class in code and everything works when I test the project but IntelliJ calls it an "unresolved symbol". I tried adding the assets folder as a library source in my module (tried the SWC too) but nothing works. Am I doing something wrong or is this beyond IntelliJ's capabilities?
Edit: after being recommended VSCode I got my project set up in that IDE as well. I'm having the same issue, except VSCode cancels the build even though OpenFL returns no errors.
I don't know if this is the correct solution but I built through OpenFL and pointed IntelliJ at the created /Export/flash/haxe/_generated/
directory and it worked. It looks like it would work for VSCode too.
Something doesn't seem right about it, though. like my SWF refs are of my previous build but everything else reflects the next build