How to always open file in the same editor?

会有一股神秘感。 提交于 2019-12-17 20:51:47

问题


When I switch between files (Using ctrl-n for examples) in different editors, intellij always opens the file in the original editor the tab for the file is located. Coming from a vim background this seems counter intuitive for me. Is there a way to force intellij to always open the file in the same editor window?


回答1:


Please vote for the following related issues:

  • IDEA-67559 Opening a file when there are multiple file groups may re-open in a different group rather than opening in the current group
  • IDEA-81628 Navigation within same file mistakenly leaves split editor



回答2:


When using Ctrl-Shift-N to open the desired file, Shift-Enter to confirm will maintain the focused tab group.



来源:https://stackoverflow.com/questions/13921119/how-to-always-open-file-in-the-same-editor

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