• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Burrito Code assist doesn't function in CDATA

Engaged ,
Oct 28, 2010 Oct 28, 2010

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:

BurritoPref.png

Thanks for the help,

FTQuest

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Oct 28, 2010 Oct 28, 2010

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.

Votes

Translate

Translate
Adobe Employee ,
Oct 28, 2010 Oct 28, 2010

Copy link to clipboard

Copied

Moved to Using Flash Builder

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 28, 2010 Oct 28, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2010 Oct 28, 2010

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:

CodeAssist.png

and in <fx:Script> it does NOT:

NoCodeAssist.png

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 28, 2010 Oct 28, 2010

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."?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2010 Oct 28, 2010

Copy link to clipboard

Copied

My directory does not show .metadata:

Directory.png

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 28, 2010 Oct 28, 2010

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).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2010 Oct 28, 2010

Copy link to clipboard

Copied

Thank you, Jason for looking into it. Here is the error log:

error log.png

If it's unreadable, I can just copy it as text.

Thanks,

Igor Borodin

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 28, 2010 Oct 28, 2010

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."?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2010 Oct 28, 2010

Copy link to clipboard

Copied

Here is the result of pressing Ctrl + Space:

explicit.png

Thanks,

IB

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 28, 2010 Oct 28, 2010

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2010 Oct 28, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 28, 2010 Oct 28, 2010

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2010 Oct 28, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 23, 2010 Nov 23, 2010

Copy link to clipboard

Copied

LATEST

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines