Structural Search - Finding logging statements without 'code guards'
Is it possible to use structural search to find logging statements that are not enclosed inside a specific conditional block?
For example , I would like to find lines of
//ATG Dynamo logging
logDebug(not a constant string)
//log4j
logger.debug(not a constant string)
//commons-logging
log.debug(not a constant string)
that are *not inside an if *statement
//ATG
if(isLoggingDebug())...
//log4j
if(logger.isDebugEnabled())
//commons-logging
if(log.isDebugEnabled())
Please sign in to leave a comment.
Not in Selena version :(
Dave Levitt wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Time to put a feature request in to Jira :-/
Looks like this has already been requested http://www.jetbrains.net/jira/browse/IDEADEV-11284