Jessica He
Jessica He
Fixes #1247 Signed-off-by: Jessica He
At the moment, there is no option to generate all possible attributes (including optional attributes). Currently, it will only generate mandatory attributes that have `use="required"` provided by `cvc_complex_type_4CodeAction`.
Adding on to https://github.com/eclipse/lemminx/pull/1254, there are basic aspects of comment formatting that need to be implemented for the experimental formatter. Related tests: https://github.com/JessicaJHee/lemminx/blob/a35d8d5cd5140e952b52306ed1332c0fc35ad75d/org.eclipse.lemminx/src/test/java/org/eclipse/lemminx/services/format/experimental/XMLFormatterExperimentalTest.java#L506
To further support this setting, the parser should be improved to parse cases where the attribute value is not closed by quotes. For example, if we wanted to format the...
Currently the experimental formatter will normalize the space before and after the entire text content by default. Here is the current behavior: Before formatting: ``` Content Content2 Content3 ``` After...
Fixes #1331 Signed-off-by: Jessica He
Fixes #1327 Signed-off-by: Jessica He
Relating to these tests: https://github.com/eclipse/lemminx/blob/74d6e29f09be780cff5c32b95ca0208d4196315b/org.eclipse.lemminx/src/test/java/org/eclipse/lemminx/services/format/experimental/XMLFormatterWhitespaceSettingTest.java#L34 Documentation for this setting should also be added here: https://github.com/redhat-developer/vscode-xml/blob/main/docs/Formatting.md#filestrimfinalnewlines
If we have this XML with xs:documentation set to preserve spaces: ``` Content that spans multiple lines. ``` It would be nice to still format the end tag `` by...
There are some issues with this code action in the cases where the child element has no type or complex definition, such as element 'a' in the following example. (ex:...