Skip to content
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

Separate xsd:documentation and xsd:appinfo contents on hover and completion #630

Closed
angelozerr opened this issue Apr 11, 2020 · 1 comment · Fixed by #700
Closed

Separate xsd:documentation and xsd:appinfo contents on hover and completion #630

angelozerr opened this issue Apr 11, 2020 · 1 comment · Fixed by #700
Assignees
Labels
enhancement New feature or request hover
Milestone

Comments

@angelozerr
Copy link
Contributor

angelozerr commented Apr 11, 2020

Hover for XML Schema documentation should ignore xsd:appinfo.

Download XML Schema https://github.com/redhat-developer/vscode-xml/files/4029276/AUTOSAR_00048.zip

Write xml like this:

<?xml version="1.0" encoding="UTF-8" ?>
<AUTOSAR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://autosar.org/schema/r4.0" xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_00048.xsd">
  <AR-PACKAGES>

Hover the AR-PACKAGES and you will see this hover:

image

atpSplitable should not appear (it's the behavior of WTP XML Editor)

@fbricon fbricon added this to the 0.12.0 milestone Apr 22, 2020
@fbricon
Copy link
Contributor

fbricon commented Apr 22, 2020

So maybe only display the xsd:appinfo if there's no XSD documentation

@xorye xorye changed the title Hover should ignore xsd:appinfo Separate xsd:documentation and xsd:appinfo contents on hover and completion Jun 10, 2020
@xorye xorye added the enhancement New feature or request label Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hover
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants