Intellij想法,分离编辑窗口 [英] Intellij idea, detach editor window

查看:533
本文介绍了Intellij想法,分离编辑窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从我的Intellij设置中删除了标签,因为有可用于在文件之间导航的所有功能,谁需要它们?

I have recently removed tabs from my Intellij setup, because with all the features available to navigate between files, who needs them?

问题是,正常方式分离编辑器窗口的方法是将选项卡拖到另一个屏幕(或区域)上。用于分离编辑器窗口的键映射中似乎没有任何内容。有没有办法通过键盘这样做?

The issue is, the normal way of detaching an editor window would be to drag the tab onto another screen (or area). There doesn't appear to be anything in the key mappings for detaching an editor window. Is there a way of doing this via the keyboard?

推荐答案

您正在寻找的键盘快捷键是 SHIFT + F4 (分配给此快捷方式的操作在新窗口中称为开源。当您调用此操作时,将以新方式打开当前打开的选项卡(文件)编辑窗口。然而,文件也将在主窗口中保持打开状态,但我相信这与你描述的功能一样接近,至少目前是这样。

The keyboard shortcut your are looking for is SHIFT+F4 (the action assigned to this shortcut is called Open Source in New Window. When you invoke this action the currently opened tab (file) will be opened in new editor window. However the file will remain opened in the main window too, but I believe that this is as close as you can get to the functionality you describe, at least for now.

使用 CTRL + N 打开Open class对话框,搜索您的课程想要在分离的窗口中打开并点击 CTRL + SHIFT + ENTER 。这将在新的编辑器窗口中打开该类。

Open the "Open class" dialog using CTRL+N search for a class you want to open in detached window and hit CTRL+SHIFT+ENTER. That will open the class in a new editor window.

不幸的是,这似乎只适用于Java类而不适用于其他文件( CTRL + SHIFT + N dialog)。我创建了一个错误报告最后一个问题,所以如果您认为它可能有用,请随时投票。

Unfortunately this seems to work only for Java classes and not for other files (CTRL+SHIFT+N dialog). I created a bug report for the last problem, so if you think it might be useful, feel free to vote for it.

这篇关于Intellij想法,分离编辑窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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