Skip to content

Commit d3df83b

Browse files
authored
Prompt recommendations only when uri schema is file microsoft#37569 (microsoft#38666)
1 parent aca59e7 commit d3df83b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/vs/workbench/parts/extensions/electron-browser/extensionTipsService.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,7 @@ export class ExtensionTipsService extends Disposable implements IExtensionTipsSe
221221
private _suggest(model: IModel): void {
222222
const uri = model.uri;
223223

224-
if (!uri) {
225-
return;
226-
}
227-
228-
if (uri.scheme === Schemas.inMemory || uri.scheme === Schemas.internal || uri.scheme === Schemas.vscode) {
224+
if (!uri || uri.scheme !== Schemas.file) {
229225
return;
230226
}
231227

0 commit comments

Comments
 (0)