Merge pull request #73219 from Microsoft/joh/73150

add code lens cache to standalone editor
This commit is contained in:
Johannes Rieken 2019-05-03 15:40:52 +02:00 committed by GitHub
commit 66639257d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -34,7 +34,7 @@ class CacheItem {
) { }
}
class CodeLensCache implements ICodeLensCache {
export class CodeLensCache implements ICodeLensCache {
_serviceBrand: any;

View file

@ -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 {