Replies: 1 comment
-
The LS isn't aware of client-side content types for text regions. I believe the best approach is to relax lemminx-maven so it can support the case of dependency/dependencies nodes even if the files aren't pom files. If there are no strong risk of overlap (ie the tags used in .target don't match the ones used by poms, except for the ones where they should behave the same; then you might try to relax the case of https://github.com/eclipse/lemminx-maven/blob/master/lemminx-maven/src/main/java/org/eclipse/lemminx/extensions/maven/MavenLemminxExtension.java#L584 to support .target in some extent (although many features assuming that the file can be parsed as a pom may fail more or less gracefully) |
Beta Was this translation helpful? Give feedback.
-
In m2e we have an extension for the PDE target editor.
The serialized form is (mostly) what maven uses for example it looks like this:
https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/520a195d09f2adc6f2caca84a7087ad96fa8c43f/eclipse.platform.releng.prereqs.sdk/eclipse-sdk-prereqs.target#L99-L111
What I like to archive now is:
It would be great if some of the lemminx / WWD / ... devs could help here ...
Beta Was this translation helpful? Give feedback.
All reactions