开发者

Flash Builder 4 not finding classes, autocomplete not working

开发者 https://www.devze.com 2023-01-29 03:41 出处:网络
For some reason Flash Builder 4 doesn\'t autocomplete any more for new projects I create (either pure Actionscript or Flash Pro projects). But for previous projects it still works fine.

For some reason Flash Builder 4 doesn't autocomplete any more for new projects I create (either pure Actionscript or Flash Pro projects). But for previous projects it still works fine.

For instance when I go to create a new actionscript class, when I click browse next to Superclass there are only TWO classes that come up. EventDispatcher & Sprite. Where have the rest of the classes gone?

When I try to type inside the class.. ie var mc:MovieClip... as I'm typing MovieClip nothing comes up any more.. pushing ctrl+space doesn't bring up a list of classes either. Importing classes, no code hinting comes up at all.

I haven't changed开发者_JAVA百科 anything in Flash Builder between now and when my previous projects were created.

Any help much appreciated!!! Deadlines looming, no autocomplete = massive pain.


Ok.. I solved this by simply uninstalling and installing Flash Builder...

Obviously a bug in there somewhere.


I just had this problem happen to me and It was due to my project being created in a directory that was within the directory of an existing project directory. Once I moved my new project to a directory higher than and separate from the other projects it all worked fine. Hope this helps someone.


This happened to me when I added the -advanced-telemetry compiler option in Flash Builder 4.7 using the Apache 4.10 SDK. It's supported by the SDK but not by Flash Builder apparently.


Try creating a new workspace

File > Switch Workspace > Other

Then select a new directory for the workspace.

I'm actually having the opposite problem - new projects work, and my existing project doesn't work. This didn't fix that problem - but may fix the opposite problem. Certainly better then uninstalling and reinstalling.


For Mac, I found auto-complete to be very inconsistent when I type command-space (sometimes the dropdown would appear after two or three times in a row hitting command-space, sometimes never), but always comes up when I type control-space.


Switch to FlashDevelop !!

Comparison with FlashBuilder

My intellisense worked instantly, and my Flex project file worked too (didn't need to reimport all the times).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号