Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Consider synthesizing an XML Schema for a project's XSP files #139
If, instead of providing a completion participant for XSP files, the LSP4XML plugin instead synthesized an XML schema based on known components and custom controls, that could allow for the full breadth of IDE help to come in without having to worry about the fiddly edge cases of code completion.
The big thing to investigate to see if this is viable would be how frequently the method to ask for a schema is called. If it's just once per workspace, that'd be useless, as it wouldn't allow for different XPages projects. If it's once per project or per file, that would be better, but best would be if it's called repeatedly, allowing the code to check for changes to Custom Controls.
Actually, that was partially PEBKAC: I was double-encoding the HTML. However, though both Eclipse and VS Code will translate the HTML to line breaks and basic formatting, Eclipse oddly no longer displays