Eclipse:在两个编辑器中打开相同的文件? [英] Eclipse: have the same file open in two editors?

查看:378
本文介绍了Eclipse:在两个编辑器中打开相同的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我编辑一个大文件时,我经常想要在两个编辑窗口中一次打开它(例如,为了参考,或者因为我正在处理文件的两个不同部分)。

When I'm editing a large file, I often want to have it open in two editing windows at once (eg. for reference, or because I'm working on two different parts of the file at once).

有没有办法使用Eclipse?

Is there any way to do this with Eclipse?

推荐答案

打开你的文件然后窗口 - > 新编辑器 (注意:在较新的版本中,它将被称为新窗口

Open your file and then Window->New Editor (Note: in newer versions it will be called New Window)

然后,单击其选项卡,将其拖动到其他位置,以使两个编辑器相同的文件

Then, click on its tab and drag it somewhere else to have two editors of the same file

更新:由moschlar提及,从版本4.4,可以使用 Window 创建两个编辑器 - > 编辑器 - > 克隆

Update: as mentioned by moschlar, From version 4.4, two editors can be created with Window -> Editor -> Clone.

这篇关于Eclipse:在两个编辑器中打开相同的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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