Skip to content

Instantly share code, notes, and snippets.

@bcalmac
Created April 13, 2015 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcalmac/0fdfa1f60e536a007219 to your computer and use it in GitHub Desktop.
Save bcalmac/0fdfa1f60e536a007219 to your computer and use it in GitHub Desktop.
IntelliJ structural search for XML tag based on nested attributes
<object type="$obj_type$">
<$tag$/>
<property>
<$tag2$/>
<customtag name="poll"/>
<$tag3$/>
</property>
<$tag4$/>
</object>
@bcalmac
Copy link
Author

bcalmac commented Apr 13, 2015

The additional $tag$ fillers are unfortunately necessary. Cardinality is 0:N.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment