[ANN] Struts Assistant 0.91 released. Code Completion/Navigation/Lookup/Refactoring

Code Completion/Navigation/Lookup support for Struts, Validation and Tiles configuration files
Refactoring support for Struts Actions, Forms, Properties, Tile names, Validator rules etc.
Nested bean properties supported
Comma-delimited lists supported (roles, Validator rules)
Smart autopopups (configurable)

6 comments

some problems:
1 action path with parameters, such as following:
<html:link action="/view?id=1">view</html:link>
reported as error.
2 Map-backed ActionForms problem.
<html:text property="value(foo)"/>
For more information, please reference
http://struts.apache.org/struts-doc-1.2.8/userGuide/building_controller.html#map_action_form_classes

0

And a very annoying feature, each time I start IDEA, this plugin window will pop out.

0

Thanks. Will be fixed in the next release, i hope within a week.

0

What window do you mean? If it is the "Plugins Interference Detected" warning, please disable/uninstall the reported plugin or disable Struts Assistant code completion (IDE Settings -> Struts Assistant -> Code completion)

0

no, I think it's the fact that when Struts Assistant is installed, the
tool window is opened by default when a project is opened - small
problem, but very annoying really.

Oliver

PS: Also, I keep getting errors reported by the IDE even if I'm not
working with SA:

Assertion failed:
anima.plugins.struts.inplace.StrutsAutoPopupController$1@47f49b
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:78)
at
com.intellij.openapi.editor.impl.DocumentImpl.addDocumentListener(DocumentImpl.java:232)
at

anima.plugins.struts.inplace.StrutsAutoPopupController$4.fileOpened(y:133)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at

java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:60)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:27)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:44)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:8)
at $Proxy25.fileOpened(Unknown Source)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:381)
at

com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java)
at

com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:5)
at

com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:60)
at

com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:240)
at

com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl(FileEditorManagerImpl.java:404)
at

com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:155)
at

com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:1)
at

com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$4.run(FileEditorManagerImpl.java:11)
at

com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:5)
at

com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:60)
at

com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:239)
at

com.intellij.openapi.fileEditor.OpenFileDescriptor.openFileAskingType(OpenFileDescriptor.java:135)
at

com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:102)
at

com.intellij.psi.impl.source.TreeWrapperPsiElement.navigate(TreeWrapperPsiElement.java:87)
at

com.intellij.codeInsight.navigation.actions.GotoDeclarationAction.invoke(GotoDeclarationAction.java:103)
at

com.intellij.codeInsight.actions.BaseCodeInsightAction$1$1.run(BaseCodeInsightAction.java:1)
at

com.intellij.codeInsight.actions.BaseCodeInsightAction$1.run(BaseCodeInsightAction.java:6)
at

com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:51)
at

com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:60)
at

com.intellij.codeInsight.actions.BaseCodeInsightAction.actionPerformedImpl(BaseCodeInsightAction.java:28)
at

com.intellij.codeInsight.actions.BaseCodeInsightAction.actionPerformed(BaseCodeInsightAction.java:34)
at

com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:119)
at

com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:56)
at

com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:176)
at

com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:117)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:275)
at

java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:196)
at

java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:182)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


On 2005-11-29 10:50:51 +0100, anima <anima2ls@yahoo.com> said:

What window do you mean? If it is the "Plugins Interference Detected"
warning, please disable/uninstall the reported plugin or disable Struts
Assistant code completion (IDE Settings -> Struts Assistant -> Code
completion)



0

Thanks Oliver, i'll try to make Struts Assistant modester :) The reported exception will be fixed in the next release.

0

Please sign in to leave a comment.