File tree Expand file tree Collapse file tree
src/vs/editor/contrib/quickFix Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { ICommandService } from 'vs/platform/commands/common/commands';
1111import { IContextMenuService } from 'vs/platform/contextview/browser/contextView' ;
1212import { ContextKeyExpr , IContextKeyService } from 'vs/platform/contextkey/common/contextkey' ;
1313import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding' ;
14+ import { optional } from 'vs/platform/instantiation/common/instantiation' ;
1415import { IMarkerService } from 'vs/platform/markers/common/markers' ;
1516import { IEditorContribution } from 'vs/editor/common/editorCommon' ;
1617import { EditorContextKeys } from 'vs/editor/common/editorContextKeys' ;
@@ -46,7 +47,7 @@ export class QuickFixController implements IEditorContribution {
4647 @IContextMenuService contextMenuService : IContextMenuService ,
4748 @IKeybindingService private readonly _keybindingService : IKeybindingService ,
4849 @ITextModelService private readonly _textModelService : ITextModelService ,
49- @IFileService private _fileService : IFileService
50+ @optional ( IFileService ) private _fileService : IFileService
5051 ) {
5152 this . _editor = editor ;
5253 this . _model = new QuickFixModel ( this . _editor , markerService ) ;
You can’t perform that action at this time.
0 commit comments