java - IntelliJ to move a class along with conflicted classes to a new package? -


when select refactoring > move on java class , result intellij warns that'll cause conflicts other classes. there way tell intellij move class along classes have conflicts well?

edit: seems original question unclear i'm providing example.

if have classa uses classb inside. if move classa directory (different maven module), classa can no longer access classb. ideally, intellij have option automatically move classb other directory well.

when try move class(you can refactoring > move or hit f6 or drag&drop) intellij gives some options like:

search in comments , strings

search text occurrences

search references etc..

if select these intellij handle dependencies. don't have worry them.

check move class dialog


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -