Projects / Fast Code Eclipse Plugin

Fast Code Eclipse Plugin

Fast Code is an Eclipse plugin for easily generating similar classes, e.g. FooDAO to FooService and FooAction. It helps create stubs for other configuration files, resource bundles, JSP, etc. It can help you navigate between similar classes easily. It helps you create some constructs in Java easily, e.g List-ArrayList, Map-HashMap, etc., create imports, add a Spring dependency, and more.

Recent releases

  •  19 Jun 2012 03:32

    Release Notes: The UI for the template and database template have been cleaned up. The unit test feature also has been enhanced and cleaned up.

    •  06 Apr 2012 00:31

      Release Notes: This release adds a new "create variable" dialog and an way to create SQL from a database.

      •  17 Jan 2011 08:18

        Release Notes: New templates have been added. Template import/export has been added.

        •  08 Oct 2010 05:28

          Release Notes: A feature to create new classes has been added. One can now create FooDao/FooDaoImpl just by typing "foo". Also, template functionality has been added. One can generate log/print statements, hql, etc. One can copy a class as well. For example, from FooAction one can generate BarAction just by highlighting Foo and typing Ctl-Alt-Shift-C and typing bar.

          •  26 Oct 2009 10:21

            Release Notes: The facility for creating a similar feature can be invoked from the implementation classes even though it is configured with the interfaces. This way one does not have jump to the interface just for creating similar classes. Junit tests can be created automatically while creating a similar action. Junit test are created in the same project. The capability to easily add new private fields has been added.

            Recent comments

            17 Jun 2009 13:51 ranchy

            I know this is not the place to post our queries but i am helpless. The above problem is logged from me. Its great to see the input for the same.

            17 Jun 2009 04:43 ranchy

            Hello all,

            I am trying to use Fast code eclipse plugin in my small project (application). Below are the steps I followed

            I have downloaded fastcode_1.1.9.1 jar and placed in plugin folder of eclipse. I am able to find the fast code tab under my eclipse(windows-->preferences)but when I am trying to configure 'JunitPreferancePage' its throwing error saying 'An error has occurred. See error log for more details'.

            The error log file from workspace/.metadata is as follows

            !ENTRY org.eclipse.jface 4 2 2009-06-09 15:35:38.259
            !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
            !STACK 0
            java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
            at org.fastcode.preferences.JUnitPreferencePage.creat eFieldEditors(
            at org.eclipse.jface.preference.FieldEditorPreference Page.createContents( :227)
            at org.eclipse.jface.preference.PreferencePage.create Control(
            at org.eclipse.jface.preference.PreferenceDialog.crea tePageControl(
            at org.eclipse.jface.preference.PreferenceDialog$13.r un(
            at .java:37)
            at a:857)
            at org.eclipse.ui.internal.JFaceUtil$ java:46)
            at Page(
            at org.eclipse.ui.internal.dialogs.FilteredPreference Dialog.showPage(
            at org.eclipse.jface.preference.PreferenceDialog$ lectionChanged(
            at org.eclipse.jface.viewers.StructuredViewer$
            at .java:37)
            at a:857)
            at org.eclipse.ui.internal.JFaceUtil$ java:46)
            at org.eclipse.jface.viewers.StructuredViewer.firePos tSelectionChanged(
            at org.eclipse.jface.viewers.StructuredViewer.handleP ostSelect(
            at org.eclipse.jface.viewers.StructuredViewer$5.widge tSelected(
            at org.eclipse.jface.util.OpenStrategy.firePostSelect ionEvent(
            at org.eclipse.jface.util.OpenStrategy.access$4(OpenS
            at org.eclipse.jface.util.OpenStrategy$
            at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(
            at org.eclipse.swt.widgets.Display.runAsyncMessages(D
            at org.eclipse.swt.widgets.Display.readAndDispatch(Di
            at org.eclipse.jface.window.Window.runEventLoop(Windo
            at 96)
            at org.eclipse.jface.action.Action.runWithEvent(Actio
            at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection( 6)
            at cess$2(
            at org.eclipse.jface.action.ActionContributionItem$5. handleEvent(
            at org.eclipse.swt.widgets.EventTable.sendEvent(Event
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:938)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(
            at org.eclipse.swt.widgets.Display.readAndDispatch(Di
            at org.eclipse.ui.internal.Workbench.runEventLoop(Wor
            at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2353)
            at org.eclipse.ui.internal.Workbench.access$4(Workben
            at org.eclipse.ui.internal.Workbench$ java:466)
            at org.eclipse.core.databinding.observable.Realm.runW ithDefault(
            at org.eclipse.ui.internal.Workbench.createAndRunWork bench(
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl
            at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(
            at run(
            at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication( 106)
            at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(
            at n(
            at n(
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.eclipse.equinox.launcher.Main.invokeFramework(
            at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:447)
            at 73)

            can any body help me out


            12 Jun 2009 04:32 fastcodejava

            New version has been released.
            Spring 3 style method annotations are supported. Copy member has been extended to static imports as well. Creating Junit tests have been improved.Some code refactoring has been done.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.