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.

RSS Recent releases

  •  19 Jun 2012 09:03

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.

  •  08 Apr 2012 11:58

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

  •  17 Jan 2011 10:28

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

    •  08 Oct 2010 07:58

      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 11:47

      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.

      RSS Recent comments

      17 Jun 2009 13:51 ranchy Thumbs down

      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 Thumbs down

      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(JUnitPreferencePage.java:141)
      at org.eclipse.jface.preference.FieldEditorPreference Page.createContents(FieldEditorPreferencePage.java :227)
      at org.eclipse.jface.preference.PreferencePage.create Control(PreferencePage.java:233)
      at org.eclipse.jface.preference.PreferenceDialog.crea tePageControl(PreferenceDialog.java:1456)
      at org.eclipse.jface.preference.PreferenceDialog$13.r un(PreferenceDialog.java:1213)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
      at org.eclipse.core.runtime.Platform.run(Platform.jav a:857)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil. java:46)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnab le.java:199)
      at org.eclipse.jface.preference.PreferenceDialog.show Page(PreferenceDialog.java:1207)
      at org.eclipse.ui.internal.dialogs.FilteredPreference Dialog.showPage(FilteredPreferenceDialog.java:433)
      at org.eclipse.jface.preference.PreferenceDialog$9.se lectionChanged(PreferenceDialog.java:698)
      at org.eclipse.jface.viewers.StructuredViewer$3.run(S tructuredViewer.java:842)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
      at org.eclipse.core.runtime.Platform.run(Platform.jav a:857)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil. java:46)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnab le.java:199)
      at org.eclipse.jface.viewers.StructuredViewer.firePos tSelectionChanged(StructuredViewer.java:840)
      at org.eclipse.jface.viewers.StructuredViewer.handleP ostSelect(StructuredViewer.java:1153)
      at org.eclipse.jface.viewers.StructuredViewer$5.widge tSelected(StructuredViewer.java:1178)
      at org.eclipse.jface.util.OpenStrategy.firePostSelect ionEvent(OpenStrategy.java:250)
      at org.eclipse.jface.util.OpenStrategy.access$4(OpenS trategy.java:244)
      at org.eclipse.jface.util.OpenStrategy$3.run(OpenStra tegy.java:418)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:123)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3659)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3296)
      at org.eclipse.jface.window.Window.runEventLoop(Windo w.java:820)
      at org.eclipse.jface.window.Window.open(Window.java:7 96)
      at org.eclipse.ui.internal.OpenPreferencesAction.run( OpenPreferencesAction.java:65)
      at org.eclipse.jface.action.Action.runWithEvent(Actio n.java:498)
      at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionContributionItem.java:54 6)
      at org.eclipse.jface.action.ActionContributionItem.ac cess$2(ActionContributionItem.java:490)
      at org.eclipse.jface.action.ActionContributionItem$5. handleEvent(ActionContributionItem.java:402)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:938)
      at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3682)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3293)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2389)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2353)
      at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2219)
      at org.eclipse.ui.internal.Workbench$4.run(Workbench. java:466)
      at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:289)
      at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:461)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:106)
      at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:169)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 106)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:76)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:363)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:176)
      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( Main.java:508)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:447)
      at org.eclipse.equinox.launcher.Main.run(Main.java:11 73)

      can any body help me out

      Thanks

      12 Jun 2009 04:32 fastcodejava Thumbs up

      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.

      Screenshot

      Project Spotlight

      web2ldap

      A Web-based LDAP client written in Python.

      Screenshot

      Project Spotlight

      BAR: backup archiver program

      An archiver program with compression and encryption support.