未验证 提交 66639257 编写于 作者: J Johannes Rieken 提交者: GitHub

Merge pull request #73219 from Microsoft/joh/73150

add code lens cache to standalone editor
......@@ -34,7 +34,7 @@ class CacheItem {
) { }
}
class CodeLensCache implements ICodeLensCache {
export class CodeLensCache implements ICodeLensCache {
_serviceBrand: any;
......
......@@ -48,6 +48,7 @@ import { ISuggestMemoryService, SuggestMemoryService } from 'vs/editor/contrib/s
import { IAccessibilityService } from 'vs/platform/accessibility/common/accessibility';
import { BrowserAccessibilityService } from 'vs/platform/accessibility/common/accessibilityService';
import { ILayoutService } from 'vs/platform/layout/browser/layoutService';
import { ICodeLensCache, CodeLensCache } from 'vs/editor/contrib/codelens/codeLensCache';
export interface IEditorOverrideServices {
[index: string]: any;
......@@ -159,6 +160,7 @@ export module StaticServices {
export const suggestMemoryService = define(ISuggestMemoryService, (o) => new SuggestMemoryService(storageService.get(o), configurationService.get(o)));
export const codeLensCacheService = define(ICodeLensCache, (o) => new CodeLensCache(storageService.get(o)));
}
export class DynamicStandaloneServices extends Disposable {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册