File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/extensions/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ import { IWorkspaceTagsService } from 'vs/workbench/contrib/tags/common/workspac
4343import { setImmediate , isWeb } from 'vs/base/common/platform' ;
4444import { platform , env as processEnv } from 'vs/base/common/process' ;
4545import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService' ;
46+ import { Schemas } from 'vs/base/common/network' ;
4647
4748const milliSecondsInADay = 1000 * 60 * 60 * 24 ;
4849const choiceNever = localize ( 'neverShowAgain' , "Don't Show Again" ) ;
@@ -698,7 +699,8 @@ export class ExtensionTipsService extends Disposable implements IExtensionTipsSe
698699 */
699700 private promptFiletypeBasedRecommendations ( model : ITextModel ) : void {
700701 const uri = model . uri ;
701- if ( ! uri || uri . scheme === 'gitfs' || ! this . fileService . canHandleResource ( uri ) ) {
702+ const supportedSchemes = [ Schemas . untitled , Schemas . file , Schemas . vscodeRemote ] ;
703+ if ( ! uri || supportedSchemes . indexOf ( uri . scheme ) === - 1 ) {
702704 return ;
703705 }
704706
You can’t perform that action at this time.
0 commit comments