Using the code format from ECLIPSE
3 人关注
Hello,
I've imported an Eclipse Java project to Indea Intellij.
I had a "custom code format" in Eclipse (Java > Code Style > Formatter). I have exported this custom format as an XML file.
How can I use this custom code format with IntelliJ ?
When I imported the project, Intellij used his own format and broke my "custom format" :(
Thanks a lot,
Fabrice
请先登录再写评论。
You should be able to define "your own code format" in IDEA.
I'm not sure if you can import such settings directly from Eclipse. But you can quickly configure your own code style settings:
Settings -> Project Code Style (for the current project)
Settings -> Global Code Style (for all projects)
Thank you for your reply.
Yes, I would like to import this "custom code format" exported from Eclipse as an XML file to Intellij Idea.
I guess not... maybe I am wrong ?
Thanks,
Fabrice