Hi,
I’d like write a plugin to add support for XML tag auto-completion based on the defined schema(s). I know, done by lunchtime.
(Or alternatively, use one that already exists…?)
Anyway, I’ve been looking around the tutorials and reading some code, and I can’t work out if it’s possible to inject dynamic values into the ctrl+space autocomplete command. I see examples of static additions, such as in the HTML auto-completions list, but to add schema support it needs to be aware of a bunch of stuff, including what schemas you have linked, where the caret is in the file and what else the file contains etc.
Are there any examples I can look at?