在Eclipse IDE中如何拆分和拆分窗口/视图? [英] How do you split and unsplit a window/view in Eclipse IDE?

查看:271
本文介绍了在Eclipse IDE中如何拆分和拆分窗口/视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Eclipse IDE中拆分窗口/视图?我想在同一个文件中查看不同的代码时编辑代码。



如果有一个技巧打开同一个文件两次,这可能会,但我宁愿只需拆分一个当前的视图,而不是两个可能会混淆的相同。

解决方案

从Eclipse Luna 4.4 M4开始,如Lars Vogel在中实现的最高分辨率的Eclipse-VILO平台/> Split编辑器,可以通过菜单项 Window> Editor> Toggle Split Editor



这解决了最早和最受欢迎的Eclipse bug之一! 错误8009


分割编辑器功能已在错误378298 中开发,并将可用作为Eclipse Luna M4。笔记本Eclipse Luna M4的新闻价值将包含公告。

目前的分割快捷方式是:


销售键盘



  • Ctrl + _ 水平分割

  • Ctrl < kbd> + { for 垂直分割


Qwerty US键盘



  • Ctrl + Shift + - (访问 _ )for > >


    How do you split a window/view in Eclipse IDE? I want to edit code while viewing the different code in the same file.

    If there is a trick to open the same file twice, this might do, but I would rather just split the one current view instead of having two of the same which might get confusing.

    解决方案

    Starting with Eclipse Luna 4.4 M4, as mentioned by Lars Vogel in "Split editor implemented in Eclipse M4 Luna", this is possible with the menu items Window>Editor>Toggle Split Editor.

    This solves one of the oldest and most upvoted Eclipse bug! Bug 8009:

    The split editor functionality has been developed in Bug 378298, and will be available as of Eclipse Luna M4. The Note & Newsworthy of Eclipse Luna M4 will contain the announcement.
    Current shortcut for splitting is:

    Azerty keyboard:

    • Ctrl + _ for split horizontally, and
    • Ctrl + { for split vertically.

    Qwerty US keyboard:

    • Ctrl + Shift + - (accessing _) for split horizontally, and
    • Ctrl + Shift + [ (accessing {) for split vertically.

    这篇关于在Eclipse IDE中如何拆分和拆分窗口/视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆