Hierarchy

Index

Constructors

constructor

Properties

Private _parent

_parent: any

args

args: string

completion

completion: string

fuse

fuse: any = undefined

Protected lastExstr

lastExstr: string

Protected lastFocused

lastFocused: CompletionOption

node

node: any

Protected optionContainer

optionContainer: HTMLElement = html`<table class="optionContainer"></table>`

options

Protected prefixes

prefixes: string[] = []

Protected sortScoredOptions

sortScoredOptions: boolean = false

Accessors

state

Methods

Private addFormatTimeSpan

  • addFormatTimeSpan(tree: any): void

Private addIndicies

  • addIndicies(tree: any): void

deselect

  • deselect(): void

filter

  • filter(exstr: any): Promise<void>

Private flattenTree

  • flattenTree(node: any, flat?: any[]): any[]

Private formatTimeSpan

  • formatTimeSpan(ms: any): string

Private makeTree

  • makeTree(nodes: any, parentId?: any, level?: number): any

next

  • next(inc?: number): Promise<any>

onInput

  • onInput(exstr: any): Promise<void>

prev

  • prev(inc?: number): Promise<boolean>

Private scoreOptions

scoredOptions

select

setStateFromScore

  • setStateFromScore(scoredOpts: ScoredOption[], autoselect?: boolean): void

shouldRefresh

  • shouldRefresh(): boolean

splitOnPrefix

  • splitOnPrefix(exstr: string): string[]

updateChain

updateDisplay

  • updateDisplay(): void

Private updateOptions

  • updateOptions(exstr?: string): Promise<void>

Object literals

fuseOptions

fuseOptions: object

findAllMatches

findAllMatches: boolean = true

ignoreFieldNorm

ignoreFieldNorm: boolean = true

ignoreLocation

ignoreLocation: boolean = true

includeScore

includeScore: boolean = true

keys

keys: string[] = ["fuseKeys"]

minMatchCharLength

minMatchCharLength: number = 1

shouldSort

shouldSort: boolean = true

threshold

threshold: any = config.get("completionfuzziness")