-
Notifications
You must be signed in to change notification settings - Fork 82
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
'No definition found' when using 'Go to Definition' for types defined in imported XSD #632
Comments
imported XSD Fixes redhat-developer/vscode-xml#632 Signed-off-by: azerr <[email protected]>
Thanks @jawn for your detailed issue. eclipse-lemminx/lemminx#1146 should fix your issue |
imported XSD Fixes redhat-developer/vscode-xml#632 Signed-off-by: azerr <[email protected]>
@jawn you can install last vesrion of vscode-xml by downloading vsix https://download.jboss.org/jbosstools/vscode-xml/staging/?C=M;O=D and give us feedback. Thanks |
Verified as fixed using version vscode-xml-0.18.3-472.vsix |
Great thanks @jawn ! |
Summary
Go to definition works to navigate to a complex type defined in the same XSD.
However, this fails when the complex type is defined in an imported file, giving error message 'No definition found for ...'
Steps to reproduce
Actual result:
Expected result
The type definition is selected in the Child.xsd file.
Repro files
repro.zip containing Parent.xsd and Child.xsd
VS Code version info
Version: 1.63.2 (system setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z (2 wks ago)
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19044
Extension version info
XML: v0.18.2
Red Hat Commons: v0.0.6
The text was updated successfully, but these errors were encountered: