提交 3ba84a8c 编写于 作者: R Rob Lourens

Fix #80334

上级 2da473b0
......@@ -487,12 +487,12 @@ export class HistoryService extends Disposable implements IHistoryService {
return;
}
const history = this.ensureHistoryLoaded();
const historyInput = this.preferResourceInput(input);
// Remove any existing entry and add to the beginning
this.removeFromHistory(input);
const history = this.ensureHistoryLoaded();
history.unshift(historyInput);
// Respect max entries setting
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册