structural search in 2242 Follow
I am looking for all empty catch statements. If I search for
I get unsupported pattern error. I have to use
While this is fine, I am wondering why number 1 does not work.
Also after I got the results, when I tried to export to a file, I got an empty file even though the structural seatch found 44 matches. What am I doing wrong?
I am using 2242 on linux.
Please sign in to leave a comment.
Hi,
Vinay Moharil wrote:
SS requires for pattern to be ones of the welformed statement,
expression, class or javadoc comment,
just catch($ExceptionType$ $ExceptionDcl$) {} does not represent well
formed statement so SS does not parse it correctly.
Looks like 'export' bug, please, submit issue to tracker.
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"