View unanswered posts | View active topics


Reply to topic  [ 3 posts ] 
Haxe / NME intelisense bug on constructor 
Author Message
Member

Joined: Thu Apr 05, 2012 5:01 am
Posts: 3
Post Haxe / NME intelisense bug on constructor
I noticed a bug with my NME project in Flash Develop, when adding a new import for a class that you NEVER used before and then trying to get the argument for the constructor nothing will show.

For example if I would type the following:

Code:
var a:Bitmap = new Bitmap(


it would automaticly add the right import at top but then nothing show up for the constructor argument.

I have to completely restart Flash Develop in order for the argument to show but only once for any project after flashdevelop will "remember" the class. The intelisense that show all class member / method work directly thought for ex:

Code:
var a:Bitmap;
a.


would show correctly without needing a restart.

Note that as i said this bug only happen with class you never used before. So an hacky way of fixing it is just to import everything in one file and restart Flash Develop then Flash Develop know about all the classes.


Thu Apr 05, 2012 5:20 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10743
Location: Paris, France
Post Re: Haxe / NME intelisense bug on constructor
Ah right I noted a somewhat random behavior here - thanks to have nailed it :)


Thu Apr 05, 2012 4:25 pm
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10743
Location: Paris, France
Post Re: Haxe / NME intelisense bug on constructor
Ha! Found the problem - haxe model caching is losing the 'constructor' annotation.


Thu Apr 19, 2012 8:30 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.