Home > Adobe Flash, Adobe Flex > Editing HTML in Flex Builder 3

Editing HTML in Flex Builder 3

Rarely have I ever had a need to edit HTML in Flex Builder. Other editors (Dreamweaver, for instance) were always available or I managed to get by with Flex Builder’s built-in plain text editor. Lately, however I’ve been working with HTML and Flex together more often and I decided to hunker down and get an HTML-editor plug-in installed in Flex Builder.

A quick solution was installing the PHP Development Toolkit plug-in (PDT) which could handle not only PHP code hinting and editing (if you needed that sort of thing), but also handled HTML as well.

Here were the steps I had to run through to get the PDT plug-in working in Flex Builder 3. First, we’ll need to install some pre-requisite frameworks and tools (like GEF, EMF and WST):

• First, from within Flex Builder, click

        Help –> Software Updates –> Find and Install –>
        Search for new features to install

• Check Europa Discovery Site and click Finish

• Expand Europa Discovery Site results

• Uncheck “Show the latest version of a feature only

• Find these groups and check the version listed:

        Graphical Editors and Frameworks
          • Graphical Editing Framework 3.3.2

        Java Development
          • Eclipse Java Development Tools 3.3.2

        Models and Model Development
          • Eclipse Modeling Framework (EMF) Runtime + End-User Tools 2.3.2
          • XML Schema Infoset Model (XSD) Extender SDK 2.3.2

        Web and JEE Development
          • Web Standard Tools (WST) Project 2.0.2

• Click Next

• Click the I accept the terms in the license agreement radio button

• Click Finish

Now that that’s done, we’ll get on to the PDT installation:

• From within Flex Builder again, click

        Help –> Software Updates –> Find and Install–>
        Search for new features to install

• Click New Remote Site, and type in “PDT” for the name and http://download.eclipse.org/tools/pdt/updates/ for the URL

• Click Finish

• Uncheck “Show the latest version of a feature only

• Expand PDT

• Check PDT SDK 1.0.3 and click Finish

• Restart the Flex Builder workbench

• Once Flex Builder has restarted, click Window in the upper toolbar, then click

        Preferences –> General –> Editors –> File Associations

• Select “.html” and “.htm” and for each extension highlight “HTML Editor” and click Default. .
• Once you’re all done click OK.

That’s it!

VN:F [1.9.1_1087]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.1_1087]
Rating: 0 (from 0 votes)
Categories: Adobe Flash, Adobe Flex Tags:
  1. Russ
    March 30th, 2009 at 09:05 | #1

    Thanks for this walk through, I have been wanting to install PDT for a while, but I didn’t know which files from the Europa Discovery site where needed.
    The link you gave for PDT didn’t have PDT on it, so I looked on the eclipse site and got the link for PDT 2.0
    first you need to get the Dynamic Language toolkit update from
    http://download.eclipse.org/technology/dltk/updates-dev/1.0/
    expand the Dynamic Language Toolkit, and select the Core Framework SDK
    after installing that, than I got the PDT 2.0 from
    http://download.eclipse.org/tools/pdt/updates/2.0/, and installed it as you described above

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
  2. April 2nd, 2009 at 12:41 | #2

    awesome…thanks so much for the additional information ;)

    VN:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
  3. Justin Broomes
    September 26th, 2009 at 07:25 | #3

    Brilliant, thanks very much!

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
  4. February 7th, 2010 at 17:01 | #4

    Excellent, thanks !
    One more thing – some org…. package was missing for a part of the installation.
    To overcome this problem there is a button on the right of the install window which gets you automatically the required packages when selecting the one which throws an error.
    And right you were > PDT SDK 1.0.3 worked for me, but not PDT SDK 1.0.5 which is why you recomended to Uncheck “Show the latest version of a feature only”.

    4 Thumbs up !

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
  1. No trackbacks yet.