未验证 提交 acf97a57 编写于 作者: A Alex Ross 提交者: GitHub

File picker auto complete shouldn't include trailing slash (#73020)

上级 0200bdd7
......@@ -469,7 +469,7 @@ export class RemoteFileDialog {
this.autoCompletePathSegment = '';
return false;
}
const itemBasename = quickPickItem.label;
const itemBasename = this.trimTrailingSlash(quickPickItem.label);
// Either force the autocomplete, or the old value should be one smaller than the new value and match the new value.
if (itemBasename === '..') {
// Don't match on the up directory item ever.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册