MCPcopy Create free account
hub / github.com/breck7/scroll / _getAllAutoCompleteAtoms

Method _getAllAutoCompleteAtoms

external/.scrollLibs.js:18306–18317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18304 )
18305 }
18306 _getAllAutoCompleteAtoms() {
18307 return this.getAllAtomBoundaryCoordinates().map(coordinate => {
18308 const results = this.getAutocompleteResultsAt(coordinate.lineIndex, coordinate.charIndex)
18309 return {
18310 lineIndex: coordinate.lineIndex,
18311 charIndex: coordinate.charIndex,
18312 atomIndex: coordinate.atomIndex,
18313 atom: results.atom,
18314 suggestions: results.matches
18315 }
18316 })
18317 }
18318 toAutoCompleteCube(fillChar = "") {
18319 const particles = [this.clone()]
18320 const filled = this.clone().fill(fillChar)

Callers 2

toAutoCompleteCubeMethod · 0.95
toAutoCompleteTableMethod · 0.95

Calls 3

mapMethod · 0.80

Tested by

no test coverage detected