Microsoft/vscode
在 GitHub 查看Focus on already opened editor instead of default editor provided by extension
Open
#183,441 建立於 2023年5月25日
bugcustom-editorshelp wanted
倉庫指標
- Star
- (74,848 star)
- PR 合併指標
- (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)
描述
Sometimes I open a file with the text editor instead of a customEditor. In this case, when this editor is still open and that I click in Explorer view on the file, I would like to have the focus on the text editor as there is already an opened editor for it.
Currently it is opening another editor for the same file:
I'm wondering if it would make sense to even remember the last type of editor used for each file so that it will reopen will last editor used even if editor is still opened or not.