-
Notifications
You must be signed in to change notification settings - Fork 29
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
Contribute to exclude property from validation #102
Contribute to exclude property from validation #102
Conversation
dd7d9bf
to
f3132eb
Compare
f3132eb
to
84bb21a
Compare
I will take a look at this today |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the camel.*
exclusion apply by default? From my testing, the Camel properties are still validated by default.
...lipse.lsp4mp.ls/src/main/java/org/eclipse/lsp4mp/settings/MicroProfileExtensionSettings.java
Outdated
Show resolved
Hide resolved
...e.lsp4mp.ls/src/test/java/org/eclipse/lsp4mp/settings/MicroProfileExtensionSettingsTest.java
Outdated
Show resolved
Hide resolved
84bb21a
to
d5acfda
Compare
No it's not done by default (it's just for test). @apupier should implement in the camel extension to enable that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to make an extension that would contribute an exclusion for all helidon.*
properties, but I can't seem to get it to work. It could just be how I set up the extension though, this is the first time I've done this.
It's MP LS extension (like quarkus.ls.ext) and not a MP JDT extension. To test quickly add this settings.json in the quarkus.ls.ext/META-INF/lsp4mp folder and rebuild it. |
9d1dad5
to
6a79315
Compare
Looks good to me! |
It's possible to ignore this error with contribution (ex : camel toolings can ignore validation for all `camel.*` properties). | ||
|
||
To do that in the JAR extension, create the `META-INF/lsp4mp/settings.json` like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention creating a lsp4mp extension, link to the documentation for creating an lsp4mp extension. Then mention that the META-INF/lsp4mp/settings.json
should be put into the lsp4mp extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@datho7561 there is a new section LSPMP - LS - extensions
, please tell me if it's better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good!
87578eb
to
84ed20e
Compare
There appears to be a compilation error |
37a5c94
to
4744c63
Compare
Fixes eclipse-lsp4mp#95 Signed-off-by: azerr <[email protected]>
Contribute to exclude property from validation
Fixes #95
Signed-off-by: azerr [email protected]