Comments (4)
A lot of things to fix, improve but open of completion starts working (with pom.xml) case:
from lemminx.
Yes sure, but it's an long task.
WTP/XML Editor uses CMModel interfaces to manages XSD, DTD both if I remember. WTP/XML Editor uses org.eclipse.xsd for that which is based on EMF to manage completion, etc I think it's not very light.
I think we should use Xerces XSModel to load the Schema and manage completion on this model.
from lemminx.
and maybe also on a DTD?
To do that we need to create DTDDocument, etc like XSD https://github.com/angelozerr/lsp4xml/tree/master/extensions/org.eclipse.lsp4xml.contentmodel/src/main/java/org/eclipse/lsp4xml/contentmodel/xsd which implements CMDocument (same idea than WTP)
from lemminx.
I close this "general" issue about completion based on XML Schema which is implemented. Please create other issues if you find some limitations. Thanks!
from lemminx.
Related Issues (20)
- Improve XML references pattern
- Improve completion based on grammar with snippets HOT 2
- Prepare for 1.0.0 Release HOT 4
- NullPointerException in `documentColor`
- Provide cancel support for hover
- Supported URI-Schemes in Catalog-Files HOT 5
- Is `formatFull()` exposed in JSON-RPC? HOT 1
- DidChangeConfigurationParams message overwrites initialization of root logger handler HOT 1
- Partial formating yields wrong intendation deep HOT 14
- RNG attribute completion doesn't generate the proper prefix if the namespace is not declared
- Comments throws off diagnostic (cvc-complex-type.2.3) mark onto the wrong location HOT 8
- bump LSP4J version 0.14.0 to 0.20.1 HOT 3
- AutoOpen closed Tags HOT 1
- conform spec: shutdown response does not conform to language-server spec HOT 2
- Missing diagnostics messages HOT 7
- Configurable path to cache directory (or using XDG dirs) HOT 2
- Cache refreshing HOT 2
- Allow code actions to be created if no Diagnostics is provided
- TextDocument to expose an API for getting a document line number by offset
- `IRenameParticipant.doRename()` is not conform with LSP-defined rename result
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemminx.