Copy link to clipboard
Copied
Hello,
In my installation of the Burrito (OS 10.6.4) the Code assist works only in MXML, but not in CDATA blocks.
Needless to say that I've checked the Preferences:
Thanks for the help,
FTQuest
Try a clean workspace. It's odd that your first cycle says "templates". We've seen something similar in the prerelease where users had stale preferences. File > Switch Workspace > and choose another location.
Copy link to clipboard
Copied
Moved to Using Flash Builder
Copy link to clipboard
Copied
Do you mean something like this:
<s:Button>
<s:click>
<![CDATA[
this.
]]>
</s:click>
</s:Button>
That works fine for me. Can you post a code snippet?
Jason San Jose
Software Engineer, Flex Mobile
Copy link to clipboard
Copied
Thanks for the quick reply, Jason.
Here are two screen shots showing that in MXML the Code assist DOES work:
and in <fx:Script> it does NOT:
Just to reiterate: this is OS 10.6.4; the workspace is default, i.e. Documents/Adobe Flash Builder Burrito Preview/
Curiously, the Code assist is working just fine in the release Builder, even with 'Hero' SDK.
Thanks for looking into the issue.
Igor Borodin
Copy link to clipboard
Copied
That works for me too. Do you have anything in your error log? ~/Documents/Adobe Flash Builder Burrito Preview/.metadata/.log. Alternatively, press CMD+3 when in FB and type error log. Select the first entry to open the Error Log view.
There's a way to get code hints to fail, but it took me 2 sequences of "." and backspace at the end of that line. I assume you're just typing "btn."?
Copy link to clipboard
Copied
My directory does not show .metadata:
Perhaps lack of that is the culprit.
I assume that the 'cascaded' is Adobe's folder ( 'Tests' and 'VSS11' are mine).
What would be your suggestion?
Thanks,
Igor Borodin
Copy link to clipboard
Copied
You'll need to enable showing hidden files in Finder. Yes, cascaded is part of the workspace. Try opening the error log view via CMD+3 (see above).
Copy link to clipboard
Copied
Thank you, Jason for looking into it. Here is the error log:
If it's unreadable, I can just copy it as text.
Thanks,
Igor Borodin
Copy link to clipboard
Copied
I don't see any indication in your error log of a code hints problem. You've mentioned that the implicit "." member access isn't triggering code hints. What about CTRL+Space explicitly after "btn."?
Copy link to clipboard
Copied
Here is the result of pressing Ctrl + Space:
Thanks,
IB
Copy link to clipboard
Copied
Try a clean workspace. It's odd that your first cycle says "templates". We've seen something similar in the prerelease where users had stale preferences. File > Switch Workspace > and choose another location.
Copy link to clipboard
Copied
Changing the workspace to new one solved the problem!
Can't help to ask: are there any settings in the default workspace that I could correct to use it, or just forget about the default and use new custom workspace?
Regardless, thank you very much, Jason.
Igor Borodin
Copy link to clipboard
Copied
You might try going into preferences under Flash Builder > Editors > ActionScript Code > Content Assist Cycling and hit restore defaults. If that doesn't work, you're better off with the clean workspace.
Copy link to clipboard
Copied
Hitting 'Restore defaults' did solve the problem.
Just to be clear: I have NOT changed these defaults.
thanks once again,
IB
Copy link to clipboard
Copied
A clean workspace resolved the issue for a little bit but then the problem returned. Can this problem be fixed officially w/o a workaround?