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

Method toAutoCompleteTable

external/.scrollLibs.js:18329–18336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18327 return new Particle(particles)
18328 }
18329 toAutoCompleteTable() {
18330 return new Particle(
18331 this._getAllAutoCompleteAtoms().map(result => {
18332 result.suggestions = result.suggestions.map(particle => particle.text).join(" ")
18333 return result
18334 })
18335 ).asTable
18336 }
18337 getAutocompleteResultsAt(lineIndex, charIndex) {
18338 const lineParticle = this.particleAtLine(lineIndex) || this
18339 const particleInScope = lineParticle.getParticleInScopeAtCharIndex(charIndex)

Callers

nothing calls this directly

Calls 3

mapMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected