Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: 1 [2]
Print
Author Topic: Eclipse plugin for pureMVC  (Read 33515 times)
swidnikk
Courseware Beta
Jr. Member
***
Posts: 13


View Profile Email
« Reply #15 on: February 12, 2010, 05:49:12 »

So update here... Flash Builder has support for templates in preferences (including import/export) and it looks relatively easy to implement by editing an XML file. Def not as easy as Flash Develop which just read the file system at startup. If I get a little extra time I'll post here, but below is the XML if anyone wants to take initiative. Pretty easy to follow.

Here's a preview of the structure

:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="new_actionscript_file" deleted="false" description="Newly created ActionScript file" enabled="true" id="com.adobe.flexide.as.core.filetemplates.new_actionscript_file" name="ActionScript File">// ActionScript file</template><template autoinsert="true" context="new_actionscript_class" deleted="false" description="Newly created ActionScript Class file" enabled="true" id="com.adobe.flexide.as.core.filetemplates.new_actionscript_class" name="ActionScript Class">
${package_declaration}
{
${import_declaration}
${class_declaration}
{
${class_body}
}
}
</template>
</templates>
« Last Edit: February 12, 2010, 05:50:43 by swidnikk » Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #16 on: February 12, 2010, 11:24:55 »

Cool. Do you know if Flex Builder 3 does this as well, or is it new?

-=Cliff>
Logged
schneidi234
Newbie
*
Posts: 1


View Profile Email
« Reply #17 on: April 19, 2010, 12:49:11 »

Hello Cliff,

you asked if it's possible to add code templates in Flex Builder 3?
No. You can only change the font style and the syntax code colors in the
menu
Window -> Preferences -> Flex -> Editor -> Syntax Coloring.

In the Flash Builder 4 you can only edit an existing template here
Window -> Preferences -> Flash Builder -> File Templates -> Syntax Coloring

You can export all templates and edit the xml file, like your needs. But you
can't add a new item to the context menu like 'New PureMVC Mediator'.
Logged
mico
Jr. Member
**
Posts: 15


View Profile Email
« Reply #18 on: October 04, 2010, 08:17:14 »

Pureclipse is one of them: http://forums.puremvc.org/index.php?topic=1805.0
Logged
Pages: 1 [2]
Print