How do I force eclipse to show xml layouts and styles as text?

十年热恋 提交于 2019-12-05 08:24:46

Use Alt+PgDn to switch through the inner tabs.

But we need a permanent solution from Dark Juno. Hope to get a patch soon.

Till then use Alt+PgDn.

You can simply choose the tab which shows the raw code instead of the controls from the bottom bar:

Clicking on strings.xml will bring up the syntax highlighted editor, and you can do this for all XMl files.

If you use Eclipse on Mac OS X you can use the following key combination ⌥⇟ to switch between sub-tabs.

Like this, with XML editor, or text editor, if you like that more.

Hope it helps

It still seems to be not fixed. On OS X the shortcut is Fn + Option + Up/Down(effectively Alt + PageUp/PageDown on Windows)

To fix the bug of Dark Juno,removing the line:

swt-tab-renderer: url(bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering);

from the CTabFolder element in “com.github.eclipsecolortheme.themes/themes/css/juno.css” .

Reference: https://github.com/rogerdudler/eclipse-ui-themes/issues/11#issuecomment-11439747

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!