#Custom refactor behaviour in intellij?
5 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @queen jay! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
So that i could, for example, have a helper function that tries to find a method and returns it in an optional instance (instead of throwing an exception). And then if i were to refactor a method, any code that uses my method wouldn't break (intellij has no idea if that string passed to my method is supposed to be a field, method or just some random string)
Currently it doesn't auto-detect it 😦