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[] = []

Private shouldSetStateFromScore

shouldSetStateFromScore: boolean = true

Protected sortScoredOptions

sortScoredOptions: boolean = false

Accessors

state

Methods

deselect

  • deselect(): void

filter

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

Private getWindows

  • getWindows(): Promise<{}>

next

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

onInput

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

prev

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

Private reactToTabChanges

  • reactToTabChanges(): Promise<void>
  • Update the list of possible tab options and select (focus on) the appropriate option.

    Returns Promise<void>

scoredOptions

select

setStateFromScore

shouldRefresh

  • shouldRefresh(): boolean

splitOnPrefix

  • splitOnPrefix(exstr: string): string[]

updateChain

updateDisplay

  • updateDisplay(): void

Private updateOptions

  • updateOptions(exstr?: string): Promise<void>
  • Gets the next option in this BufferCompletionSource assuming that this BufferCompletionSource length has been reduced by 1

    TODO: this ain't going to work, need to work out position based on win.tab

    Parameters

    • Default value exstr: string = ""

    Returns 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")