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

Method atomSuggestion

external/.scrollLibs.js:19000–19007  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18998 return super.message + ` Invalid parser "${particle.cue}". Valid parsers are: ${Utils._listToEnglishText(options, 7)}.`
18999 }
19000 get atomSuggestion() {
19001 const particle = this.getParticle()
19002 const parentParticle = particle.parent
19003 return Utils.didYouMean(
19004 particle.cue,
19005 parentParticle.getAutocompleteResults("", 0).map(option => option.text)
19006 )
19007 }
19008 get suggestionMessage() {
19009 const suggestion = this.atomSuggestion
19010 const particle = this.getParticle()

Callers

nothing calls this directly

Calls 4

didYouMeanMethod · 0.80
mapMethod · 0.80
getParticleMethod · 0.45

Tested by

no test coverage detected