-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warning when XML is not bound to a grammar #218
Comments
preference value should be an enum: {ignore, hint, info, warning, error} I'd use hint by default, as I find it less intrusive. It doesn't generate a marker in the problems view in vscode, only in the open file. |
Perfect! |
@fbricon @NikolasKomonen I have implemented this feature. I must write test yet. I have choosen |
can we call it "problems.noGrammar"? It'll allow us to handle similar messages in the future. And there's no severity implied in the name. |
You mean having |
yes |
Done @fbricon |
@fbricon I reopen this issue because I must write tests. |
When we try to bound a grammar to a XML file and this binding is not well confured (ex: XML file associations is not well configured, XML catalog not well configured) it's hard to see that.
A proposition si to mark XML root element as warning ("no grammar constraints") like WTP does:
This warning should be a preference. @fbricon @NikolasKomonen what do you think about this idea?
The text was updated successfully, but these errors were encountered: