make sure to gc-track commands of code lens objects

This commit is contained in:
Johannes Rieken
2019-02-08 16:58:51 +01:00
parent 8c3bf7a8b7
commit b6da3af518
2 changed files with 15 additions and 3 deletions

View File

@@ -882,7 +882,11 @@ export interface CodeActionDto {
export type LinkDto = ObjectIdentifier & modes.ILink;
export type CodeLensDto = ObjectIdentifier & modes.ICodeLensSymbol;
export interface CodeLensDto extends ObjectIdentifier {
range: IRange;
id?: string;
command?: CommandDto;
}
export interface ExtHostLanguageFeaturesShape {
$provideDocumentSymbols(handle: number, resource: UriComponents, token: CancellationToken): Promise<modes.DocumentSymbol[]>;