i think i have a reasonable form of auto-complete working, for the scripting language in my mud:

whenever the parser signals an error, if it has a good idea of what it was expecting (keyword, symbol, in-scope variables, field & method names), it returns those as suggestions.

the text editor runs the parser as you type, and if the parser signals error suggestions around the cursor, the editor uses them for auto-complete.

i made a short demo video (below) which got "oooh"s from the two other players :)

· · Web · 0 · 2 · 3
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!