提交 cc70eb0f 编写于 作者: B Benjamin Pasero

Recent Folders should not be case sensitive in Windows (fixes #1151)

上级 764e7754
......@@ -253,10 +253,10 @@ export class VSCodeMenu {
let mru = this.getOpenedPathsList();
if (isFile || platform.isMacintosh /* on mac we don't treat files any different from folders */) {
mru.files.unshift(path);
mru.files = arrays.distinct(mru.files);
mru.files = arrays.distinct(mru.files, (f) => platform.isLinux ? f : f.toLowerCase());
} else {
mru.folders.unshift(path);
mru.folders = arrays.distinct(mru.folders);
mru.folders = arrays.distinct(mru.folders, (f) => platform.isLinux ? f : f.toLowerCase());
}
// Make sure its bounded
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册