Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to change namespace of import in all files in project in Intellij IDEA

I need to change the namespace in all files in my project. In instance, from "import com.company.myapi" to "import com.functions.exc.myapi"
I don’t have library in which com.functions.exc.myapi is situated,since I need to change manually. How can I speed up the process?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Select ‘Edit’ -> ‘Find’->’Replace in Files’ & then under first search box use "import com.company.myapi" & second search box would be "import com.functions.exc.myapi".

Use file mask as *.java & select In Project option for replacement.

Hope this works for you.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading