[ANN] Struts Assistant 0.99 released

- Code completion fixed for validation configs
- Auto-layout enhanced
- Go To Source implemented for Servlet nodes on the Web Flow Diagram

6 comments

I hate 'Auto-layout enhanced', It make idea is very slowlly of edit struts-config.xml~

"anima" <anima2ls@yahoo.com> дÈëÏûÏ¢ÐÂÎÅ:5623268.1137508675731.JavaMail.itn@is.intellij.net...
>- Code completion fixed for validation configs

- Auto-layout enhanced
- Go To Source implemented for Servlet nodes on the Web Flow Diagram



0

Auto-layout is not active when you just typing. It is activated only if you choose "Auto-layout" item from the Diagram popup menu.
What is your project size? I don't see lags on my test project with 18 forms and 47 actions. Also, you can try to increase IDEA memory limits.
Anyway, i'll try to improve performance in the next versions.

0

anima.E.B.G: No grammar found for file://.../A.html
at anima.E.B.H.startElement(y:182)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at anima.xml.document.XMLSpaceScanner.scanStartElement(XMLSpaceScanner.java:93)
at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at anima.xml.document.XMLSpaceScanner.scanDocument(XMLSpaceScanner.java:55)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at anima.E.B.H.A(y:133)
at anima.E.B.N.A(y:98)
at anima.E.B.N.A(y:121)
at anima.E.B.N.(y:71) at anima.E.A.H.]]>(y:83)
at anima.C.A.F.A(y:86)
at anima.C.C.A.N.A(y:47)
at anima.C.C.G.A(y:187)
at anima.C.C.G$2.fileOpened(y:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:67)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:70)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:4)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:9)
at $Proxy25.fileOpened(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:143)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.readExternalPanel(EditorsSplitters.java:210)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.openFiles(EditorsSplitters.java:17)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5$1$1.run(FileEditorManagerImpl.java:0)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:37)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5$1.run(FileEditorManagerImpl.java)
at com.intellij.openapi.wm.impl.commands.InvokeLaterCmd.run(InvokeLaterCmd.java:7)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:21)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:97)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:25)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:162)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
FATAL - anima.E.B.H - Content is not allowed in prolog.: line 1 column 1 for file://.../A.java

0

thanks for reply~

my project with 21 forms and 53 actions.

Idea memory:
-Xms256m
-Xmx492m

machine memory: 1G ram

in 0.98 version, the struts-config.awf file size is 0 bytes at frist open struts-config.xml, but 0.99 the size is 12.6k bytes.

in 0.99 version,if remove struts-config.awf file at edit struts-comfig.xml. the idea is quickly ,is very happy. reopen struts-config.xml,the struts-config.awf be created. the struts-config.awf file size 26k bytes, if change something of struts-config.xml at here, the Idea is slowly!

sorry,my english is poor~

0

Please try 1.01 version. I tried my best...

0

Please sign in to leave a comment.