python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why does IntelliJ Structural Search find some of `(int) ($expr$ + 0.5f)`, but not all?
I'm trying to use Structural Search to replace a rounding anti-pattern with the correct pattern. I'm searching for:
(int) ($expr$ + 0.5f)
in order to replace it with:
Math.round($expr$)
Strangely, t...
Pepijn Schmitz
Votes: 0
Answers: 1
Structural Search for log.debug(String.format.... not working as expected
I'm doing a search for the following
$Instance$.debug(String.format($Parameter$))
and found lots of instances from before we have a sensible logging framework in our project, however some calls are n...
mjaggard
Votes: 0
Answers: 1
Structural search interface suspend function call
I have a custom function for wrapping Service api call
I want to add some warning while some api call forget adding safeApiCall{}
suspend fun <T:Any> safeApiCall(
apiCall: suspend () -> T
)...
Ewei
Votes: 0
Answers: 1