File tree Expand file tree Collapse file tree
core/src/client/override/monacoOverride Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ export const disposeMode = () => {
2828 modeService . _encounteredLanguages ?. clear ( ) ;
2929
3030 ( < any > ModesRegistry ) . _languages = [ ] ;
31-
32- // @ts -ignore
33- // InstantiationService.prototype?._services?.clear();
3431} ;
3532
3633// TODO: 此处 diff 的 stage 和 revertChange 应该是 git 注册的,框架中直接添加了按钮,耦合,需要修复实现 scm/change/title
Original file line number Diff line number Diff line change @@ -164,8 +164,6 @@ export class ScopedContextKeyServiceProxy
164164 }
165165}
166166
167- // export const monacoTextModelServiceProxy = new ScopedContextKeyServiceProxy();
168-
169167@Injectable ( )
170168export class MonacoContextKeyServiceOverride
171169 extends BaseContextKeyService
Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ import { ITelemetryService } from '@opensumi/monaco-editor-core/esm/vs/platform/
77import { INotificationService } from '@opensumi/monaco-editor-core/esm/vs/platform/notification/common/notification' ;
88import { ILogService } from '@opensumi/monaco-editor-core/esm/vs/platform/log/common/log' ;
99import { ICodeEditorService } from '@opensumi/monaco-editor-core/esm/vs/editor/browser/services/codeEditorService' ;
10- import { monacoCommandServiceProxy } from './commandService' ;
11- import { MonacoCodeService , monacoCodeServiceProxy } from './codeEditorService' ;
12- import { Injector } from '@opensumi/di' ;
13- import { ICommandServiceToken } from '@opensumi/ide-monaco/lib/browser/contrib/command' ;
1410
1511export class StandaloneKeybindingServiceProxy extends StandaloneKeybindingService {
1612 // TODO contextService
@@ -27,5 +23,3 @@ export class StandaloneKeybindingServiceProxy extends StandaloneKeybindingServic
2723 ) ;
2824 }
2925}
30-
31- // export const standaloneKeybindingServiceProxy = new StandaloneKeybindingServiceProxy();
You can’t perform that action at this time.
0 commit comments