开发者

How can tab settings be configured for individual source attachments or libraries, in Eclipse?

开发者 https://www.devze.com 2023-02-17 06:24 出处:网络
We all know that we can configure tab (code form开发者_StackOverflow中文版at) settings globally in Eclipse, and we can also do it per project. We often go to the source of JDK classes when debugging,

We all know that we can configure tab (code form开发者_StackOverflow中文版at) settings globally in Eclipse, and we can also do it per project. We often go to the source of JDK classes when debugging, or writing. If you set Eclipse's global preferences to the Java standard format, the JDK source code looks right. If you use any other preferences globally (like a company standard, or the Eclipse standard), the Java source looks like crap because of its embedded hard tabs.

Is there any way to configure the tab settings for a source attachment, or for a library?

It's a little weird that I'm not finding references to this issue. Maybe everyone switches to the Java standard format, then uses project-specific format settings.

Or maybe there's just something I missed, somewhere. Is there?


If you use jadclipse there is an option to use eclipse format settings

How can tab settings be configured for individual source attachments or libraries, in Eclipse?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号