@@ -8,7 +8,6 @@ import * as browser from 'vs/base/browser/browser';
88import { registerSingleton } from 'vs/platform/instantiation/common/extensions' ;
99import { Event } from 'vs/base/common/event' ;
1010import { createDecorator } from 'vs/platform/instantiation/common/instantiation' ;
11- import { IExtensionTipsService , ExtensionRecommendationReason , IExtensionRecommendation } from 'vs/workbench/services/extensionManagement/common/extensionManagement' ;
1211import { ExtensionIdentifier } from 'vs/platform/extensions/common/extensions' ;
1312import { IURLHandler , IURLService } from 'vs/platform/url/common/url' ;
1413import { ILogService } from 'vs/platform/log/common/log' ;
@@ -39,45 +38,6 @@ import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService
3938// tslint:disable-next-line: import-patterns
4039import { IWorkspaceStatsService , Tags } from 'vs/workbench/contrib/stats/common/workspaceStats' ;
4140
42- //#region Extension Tips
43-
44- export class SimpleExtensionTipsService implements IExtensionTipsService {
45- _serviceBrand : any ;
46-
47- onRecommendationChange = Event . None ;
48-
49- getAllRecommendationsWithReason ( ) : { [ id : string ] : { reasonId : ExtensionRecommendationReason ; reasonText : string ; } ; } {
50- return Object . create ( null ) ;
51- }
52-
53- getFileBasedRecommendations ( ) : IExtensionRecommendation [ ] {
54- return [ ] ;
55- }
56-
57- getOtherRecommendations ( ) : Promise < IExtensionRecommendation [ ] > {
58- return Promise . resolve ( [ ] ) ;
59- }
60-
61- getWorkspaceRecommendations ( ) : Promise < IExtensionRecommendation [ ] > {
62- return Promise . resolve ( [ ] ) ;
63- }
64-
65- getKeymapRecommendations ( ) : IExtensionRecommendation [ ] {
66- return [ ] ;
67- }
68-
69- toggleIgnoredRecommendation ( extensionId : string , shouldIgnore : boolean ) : void {
70- }
71-
72- getAllIgnoredRecommendations ( ) : { global : string [ ] ; workspace : string [ ] ; } {
73- return { global : [ ] , workspace : [ ] } ;
74- }
75- }
76-
77- registerSingleton ( IExtensionTipsService , SimpleExtensionTipsService , true ) ;
78-
79- //#endregion
80-
8141//#region Extension URL Handler
8242
8343export const IExtensionUrlHandler = createDecorator < IExtensionUrlHandler > ( 'inactiveExtensionUrlHandler' ) ;
0 commit comments