eclipse-theia/theia

Editor tabs duplication for 'untitled' and 'file' schemes for the same path

Open

#7,213 opened on Feb 25, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
bughelp wantedvscode

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

Description

Duplicate editors for untitled and file schemes for the same path. When the user calls the "showTextDocument" API (with "untitled" scheme and a non existing path ) a new tab is opened ( as expected). The user can edit the file and click 'CTRL+s' to save the file ( and the file is saved --> also as expected). But when the user then go to file-->open and navigate to the saved file and choose to open it --> a new tab is opened ( and we have duplication of the same tab ).

Contributor guide