syllant / idea-plugin-xstructure Goto Github PK
View Code? Open in Web Editor NEWPlugin for Intellij IDEA which provides a flexible Structure view
Plugin for Intellij IDEA which provides a flexible Structure view
PhpStorm v7 EAP build 130.1176; Windows 7 x64 SP1 ENG;
Example file (file named web.config -- associated with "XML files" in "Settings | File Types")
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Redirect to default language" stopProcessing="true">
<match url="^$" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="/en/" redirectType="Found" />
</rule>
<rule name="Entry point" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="/entry.php" />
</rule>
<rule name="Block access to internal folders" stopProcessing="true">
<match url="^(app|_build|_source)/" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="/entry.php" />
</rule>
</rules>
</rewrite>
<defaultDocument>
<files>
<add value="entry.php" />
</files>
</defaultDocument>
<httpProtocol>
<customHeaders>
<add name="X-Content-Type-Options" value="nosniff" />
<add name="X-Frame-Options" value="SAMEORIGIN" />
</customHeaders>
</httpProtocol>
</system.webServer>
<location path="favicon.ico">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="180.00:00:00" />
</staticContent>
</system.webServer>
</location>
</configuration>
Exception details:
com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.<init>(Lcom/intellij/psi/xml/XmlFile;)V: com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.<init>(Lcom/intellij/psi/xml/XmlFile;)V
java.lang.NoSuchMethodError: com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.<init>(Lcom/intellij/psi/xml/XmlFile;)V
at org.sylfra.idea.plugins.xstructure.view.XSViewTreeModel.<init>(XSViewTreeModel.java:28)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureViewModel(XSViewBuilder.java:44)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureView(XSViewBuilder.java:61)
at com.intellij.ide.actions.ViewStructureAction.createPopup(ViewStructureAction.java:97)
at com.intellij.ide.actions.ViewStructureAction.actionPerformed(ViewStructureAction.java:65)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:564)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:611)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:463)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:206)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:483)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Just downloaded and tried xtructure on OSX Mavericks with the latest enterprise edition Intellij 13.1.2
build IU-135.690 of 4/17/14
2014-05-08 09:21:46,507 [ 151077] ERROR - pplication.impl.LaterInvocator - com.intellij.ide.structureView.newStructureView.StructureViewComponent.(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V
java.lang.NoSuchMethodError: com.intellij.ide.structureView.newStructureView.StructureViewComponent.(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V
at org.sylfra.idea.plugins.xstructure.view.XSViewComponent.(XSViewComponent.java:30)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureView(XSViewBuilder.java:61)
at com.intellij.ide.impl.StructureViewWrapperImpl.rebuild(StructureViewWrapperImpl.java:320)
at com.intellij.ide.impl.StructureViewWrapperImpl$6.run(StructureViewWrapperImpl.java:254)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2053)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:266)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
at com.intellij.util.ui.update.MergingUpdateQueue.showNotify(MergingUpdateQueue.java:194)
at com.intellij.util.ui.update.UiNotifyConnector.showNotify(UiNotifyConnector.java:81)
at com.intellij.util.ui.update.UiNotifyConnector$1.run(UiNotifyConnector.java:59)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2014-05-08 09:21:46,508 [ 151078] ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 13.1.2 Build #IU-135.690
2014-05-08 09:21:46,508 [ 151078] ERROR - pplication.impl.LaterInvocator - JDK: 1.6.0_65
2014-05-08 09:21:46,508 [ 151078] ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) 64-Bit Server VM
2014-05-08 09:21:46,508 [ 151078] ERROR - pplication.impl.LaterInvocator - Vendor: Apple Inc.
2014-05-08 09:21:46,508 [ 151078] ERROR - pplication.impl.LaterInvocator - OS: Mac OS X
2014-05-08 09:21:46,508 [ 151078] ERROR - pplication.impl.LaterInvocator - Last Action: ActivateStructureToolWindow
2014-05-08 09:22:18,005 [ 182575] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for
2014-05-08 09:23:26,511 [ 251081] ERROR - til.concurrency.QueueProcessor - com.intellij.ide.structureView.newStructureView.StructureViewComponent.(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V
java.lang.NoSuchMethodError: com.intellij.ide.structureView.newStructureView.StructureViewComponent.(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V
at org.sylfra.idea.plugins.xstructure.view.XSViewComponent.(XSViewComponent.java:30)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureView(XSViewBuilder.java:61)
at com.intellij.ide.impl.StructureViewWrapperImpl.rebuild(StructureViewWrapperImpl.java:320)
at com.intellij.ide.impl.StructureViewWrapperImpl$6.run(StructureViewWrapperImpl.java:254)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2053)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:266)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:327)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2014-05-08 09:23:26,511 [ 251081] ERROR - til.concurrency.QueueProcessor - IntelliJ IDEA 13.1.2 Build #IU-135.690
2014-05-08 09:23:26,511 [ 251081] ERROR - til.concurrency.QueueProcessor - JDK: 1.6.0_65
2014-05-08 09:23:26,511 [ 251081] ERROR - til.concurrency.QueueProcessor - VM: Java HotSpot(TM) 64-Bit Server VM
2014-05-08 09:23:26,511 [ 251081] ERROR - til.concurrency.QueueProcessor - Vendor: Apple Inc.
2014-05-08 09:23:26,511 [ 251081] ERROR - til.concurrency.QueueProcessor - OS: Mac OS X
2014-05-08 09:23:26,511 [ 251081] ERROR - til.concurrency.QueueProcessor - Last Action: CheckForUpdate
2014-05-08 09:23:54,711 [ 279281] ERROR - terminal.emulator.JediEmulator - Unhandled Control sequence
parsed :ESC[?1034h
bytes read :ESC[
2014-05-08 09:24:19,005 [ 303575] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for
Hey!
I am using xStructure for custom XML.
For example, I've added custom mapping using custom label
<mapping match="node" label="Name: {@name} - Value: {@value}"/>
and I want to go to specific name in Structure tab.
Is it possible to navigate using xStructure by searching words in labels from xStructure?
What could be the approach to create a mapping definition for a file in reveal.js style? Since it doesn't have an xml schema, I don't know how to approach this.
The goal is to have an overview of the sections in the xstructure tool window.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>d3.js - Live Hacking</title>
/** cut out meta, script and css definitions **/
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1>d3.js</h1>
<h3>Live Hacking</h3>
<p>
<small>Stefan Zeller</small>
</p>
</section>
<section>
<section>
<h2>d3 - the dom manipulator</h2>
<ul>
<li>Add elements to DOM</li>
<li>Change attributes of elements</li>
</ul>
</section>
</section>
</div>
</div>
/** cut out javascript stuff **/
</body>
</html>
om/intellij/openapi/actionSystem/DataKeys
java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys
at org.sylfra.idea.plugins.xstructure.actions.SelectMappingSetAction.retrieveXmlFile(SelectMappingSetAction.java:74)
at org.sylfra.idea.plugins.xstructure.actions.SelectMappingSetAction.createPopupActionGroup(SelectMappingSetAction.java:43)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.createPopup(ComboBoxAction.java:242)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.showPopup(ComboBoxAction.java:231)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1$1.run(ComboBoxAction.java:133)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:651)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:632)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:602)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:60)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:498)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2108)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:476)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1.actionPerformed(ComboBoxAction.java:130)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.AbstractButton.doClick(AbstractButton.java:356)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$2.mousePressed(ComboBoxAction.java:159)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6522)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4530)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:573)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.actionSystem.DataKeys PluginClassLoader[org.sylfra.idea.plugins.xstructure, 1.5.1]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 56 more
The page https://github.com/syllant/idea-plugin-xstructure/wiki/MappingDefinitionRepository describes the bundled mappings. To avoid confusion and giving a little guidance it would be helpful to have an example of the header of a file of the categories.
Example:
Category | Model | Example |
---|---|---|
Docbook / Book 5.0 | ? | <book version="5.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://docbook.org/ns/docbook http://www.docbook.org/xml/5.0/xsd/docbook.xsd"> |
org.sylfra.idea.plugins.xstructure.view.XSViewComponent.getTree()Ljavax/swing/JTree;: org.sylfra.idea.plugins.xstructure.view.XSViewComponent.getTree()Ljavax/swing/JTree;
java.lang.NoSuchMethodError: org.sylfra.idea.plugins.xstructure.view.XSViewComponent.getTree()Ljavax/swing/JTree;
at org.sylfra.idea.plugins.xstructure.view.XSViewComponent.<init>(XSViewComponent.java:31)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureView(XSViewBuilder.java:61)
at com.intellij.ide.impl.StructureViewWrapperImpl.rebuild(StructureViewWrapperImpl.java:304)
at com.intellij.ide.impl.StructureViewWrapperImpl$6.run(StructureViewWrapperImpl.java:239)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1971)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:266)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:289)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:343)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:685)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:510)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
I get this exception from IDEA whenever I want to view the structure of an XML file:
com.intellij.ide.structureView.newStructureView.StructureViewComponent.<init>(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V: com.intellij.ide.structureView.newStructureView.StructureViewComponent.<init>(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V
java.lang.NoSuchMethodError: com.intellij.ide.structureView.newStructureView.StructureViewComponent.<init>(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V
at org.sylfra.idea.plugins.xstructure.view.XSViewComponent.<init>(XSViewComponent.java:30)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureView(XSViewBuilder.java:61)
at com.intellij.ide.impl.StructureViewWrapperImpl.rebuild(StructureViewWrapperImpl.java:320)
at com.intellij.ide.impl.StructureViewWrapperImpl$6.run(StructureViewWrapperImpl.java:254)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2053)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:266)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:327)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
Please help!
PyCharm 3 doesn't want to play nice with this plugin. It wants me to uninstall it.
com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.(Lcom/intellij/psi/xml/XmlFile;)V: com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.(Lcom/intellij/psi/xml/XmlFile;)V
com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.<init>(Lcom/intellij/psi/xml/XmlFile;)V: com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.<init>(Lcom/intellij/psi/xml/XmlFile;)V
java.lang.NoSuchMethodError: com.intellij.ide.structureView.impl.xml.XmlStructureViewTreeModel.<init>(Lcom/intellij/psi/xml/XmlFile;)V
at org.sylfra.idea.plugins.xstructure.view.XSViewTreeModel.<init>(XSViewTreeModel.java:28)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureViewModel(XSViewBuilder.java:44)
at org.sylfra.idea.plugins.xstructure.view.provider.XSViewBuilder.createStructureView(XSViewBuilder.java:61)
at com.intellij.ide.impl.StructureViewWrapperImpl.rebuild(StructureViewWrapperImpl.java:314)
at com.intellij.ide.impl.StructureViewWrapperImpl$6.run(StructureViewWrapperImpl.java:249)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2029)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:266)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:237)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:297)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:347)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:696)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Problem shows up in WebStorm 8.0, WS-135.547, JRE 1.7.0_40 x86.
Exception:
com.intellij.ide.structureView.newStructureView.StructureViewComponent.<init>(Lcom/intellij/openapi/fileEditor/FileEditor;Lcom/intellij/ide/structureView/StructureViewModel;Lcom/intellij/openapi/project/Project;)V:
Seems to have an issue with the angular js "ng-app" notation, if I omit it file no exception, solution works fine, all other files are okay structure view works file
This is the index.html used.
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body ng-app="myApp" ng-controller="myAppController as ws">
<p ng-repeat="person in ws.people">Hello World {{person.firstName + " " + person.lastName }}</p>
<script src="../bower_components/jQuery/dist/jquery.min.js"></script>
<script src="../bower_components/angular/angular.min.js"></script>
<script src="../Scripts/app.js"></script>
</body>
</html>
This is the app.js
var myApp = angular.module('myApp', []);
myApp.controller("myAppController", function() {
var ws = this;
ws.people = [{firstName: "John", lastName:"Davidson"}]
});
This is the dependencies section from bower.json:
"dependencies": {
"angular": "1.2.15",
"angular-ui-bootstrap": "~0.10.0",
"d3": "~3.4.4",
"jQuery": "2.1.0"
},
com/intellij/openapi/actionSystem/DataKeys
com/intellij/openapi/actionSystem/DataKeys
java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys
at org.sylfra.idea.plugins.xstructure.actions.SelectMappingSetAction.retrieveXmlFile(SelectMappingSetAction.java:74)
at org.sylfra.idea.plugins.xstructure.actions.SelectMappingSetAction.createPopupActionGroup(SelectMappingSetAction.java:43)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction.createPopupActionGroup(ComboBoxAction.java:135)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction.createActionPopup(ComboBoxAction.java:90)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction.access$300(ComboBoxAction.java:50)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.createPopup(ComboBoxAction.java:283)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.showPopup(ComboBoxAction.java:279)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1.lambda$actionPerformed$0(ComboBoxAction.java:182)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:643)
at com.intellij.openapi.wm.impl.FocusManagerImpl.o(FocusManagerImpl.java:624)
at com.intellij.openapi.wm.impl.FocusManagerImpl.m(FocusManagerImpl.java:594)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:476)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2760)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:456)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1.actionPerformed(ComboBoxAction.java:182)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.AbstractButton.doClick(AbstractButton.java:356)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$2.mousePressed(ComboBoxAction.java:206)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6538)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6306)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4523)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.k(IdeEventQueue.java:822)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:646)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Hey guys,
using xStructure 1.5.1 with both, WebStorm 8.0.1 and 8.0.3, throws an error when clicking on the xStructure dropdown within the structure window.
Besides, a structure is getting displayed but looks like before having installed the xStructure plugin.
Stacktrace follows.
Any idea?
Thanks and all the best
Frank
com/intellij/openapi/actionSystem/DataKeys: com/intellij/openapi/actionSystem/DataKeys
java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys
at org.sylfra.idea.plugins.xstructure.actions.SelectMappingSetAction.retrieveXmlFile(SelectMappingSetAction.java:74)
at org.sylfra.idea.plugins.xstructure.actions.SelectMappingSetAction.createPopupActionGroup(SelectMappingSetAction.java:43)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.createPopup(ComboBoxAction.java:238)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.showPopup(ComboBoxAction.java:227)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1$1.run(ComboBoxAction.java:130)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:651)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:632)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:602)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:60)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:498)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2053)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:476)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1.actionPerformed(ComboBoxAction.java:127)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.AbstractButton.doClick(AbstractButton.java:356)
at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$2.mousePressed(ComboBoxAction.java:156)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6502)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.actionSystem.DataKeys PluginClassLoader[org.sylfra.idea.plugins.xstructure, 1.5.1]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 56 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.