如何在 intellij Idea 中打开临时/预览选项卡

fus*_*ngs 6 intellij-idea intellij-plugin intellij-idea-2016

I like VS Code and sublime editor and in particular their default behaviour of preview the file. When you single click on a file from file explorer pan, it would open it in a temporary tab, unless a change is made in the file or opened with a double click on file, which opens it on persist tab.

Recently I've to use IntelliJ IDEA in a project and so far I like it this particular functionality is holding me up to adopt it completely. How to achieve this temporary/preview tab behaviour in IntelliJ IDEA?

Cra*_*der 14

您可以在开放请求中找到一些解决方法,或者只是按照它进行更新:

更新

这是 2020.3+ 版本中的一项功能

设置 -> 编辑器 -> 常规 -> 编辑器选项卡部分中的“启用预览选项卡”复选框