add numLines to autocomplete dev data
This commit is contained in:
parent
bff0118d01
commit
889d7f91a1
2 changed files with 3 additions and 7 deletions
|
|
@ -246,6 +246,7 @@ export class CompletionProvider {
|
|||
completionOptions,
|
||||
cacheHit,
|
||||
filepath: helper.filepath,
|
||||
numLines: completion.split("\n").length,
|
||||
completionId: helper.input.completionId,
|
||||
gitRepo: await this.ide.getRepoName(helper.filepath),
|
||||
uniqueId: await this.ide.getUniqueId(),
|
||||
|
|
|
|||
|
|
@ -1,10 +1,4 @@
|
|||
import {
|
||||
Position,
|
||||
Range,
|
||||
RangeInFile,
|
||||
RangeInFileWithContents,
|
||||
TabAutocompleteOptions,
|
||||
} from "../..";
|
||||
import { Position, Range, RangeInFile, TabAutocompleteOptions } from "../..";
|
||||
import { AutocompleteCodeSnippet } from "../snippets/types";
|
||||
|
||||
export type RecentlyEditedRange = RangeInFile & {
|
||||
|
|
@ -42,6 +36,7 @@ export interface AutocompleteOutcome extends TabAutocompleteOptions {
|
|||
modelName: string;
|
||||
completionOptions: any;
|
||||
cacheHit: boolean;
|
||||
numLines: number;
|
||||
filepath: string;
|
||||
gitRepo?: string;
|
||||
completionId: string;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue