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

Code completion is sometimes "one off" #80

Closed
ralfhandl opened this issue Nov 6, 2018 · 3 comments
Closed

Code completion is sometimes "one off" #80

ralfhandl opened this issue Nov 6, 2018 · 3 comments
Labels
bug Something isn't working completion
Milestone

Comments

@ralfhandl
Copy link

Code completion is "one off" in some places of the XML file in the attached mini.zip.

At this position it should suggest edmx:Include and edmx:IncludeAnnotations, instead it suggests nothing:

image

Instead it shows these suggestions when triggering code completion one level up in the XML tree (where it should instead suggest edmx:Reference and others):
image

To make things more confusing this only happens with suggestions for the "outer" XSD (here: edmx). Suggestions for elements in the "inner" XSD (here: edm) work fine - only edm:PropertyRef is allowed and suggested here:
image

To make things even more confusing the "one off" suggestions only show when pressing Control-Space on "white space". Once I type a < the correct suggestions show:
image

@angelozerr
Copy link
Contributor

angelozerr commented Nov 6, 2018

Please install vscode-xml upstream, it should work better:

image

image

@fbricon fbricon added bug Something isn't working completion labels Nov 6, 2018
@fbricon fbricon added this to the 0.2.0 milestone Nov 6, 2018
@fbricon
Copy link
Collaborator

fbricon commented Nov 6, 2018

Already fixed in 0.2.0. Please try the latest CI build:

  • Download the latest development VSIX archive from here. (vscode-xml-XXX.vsix)
  • Go to the Extensions section in VSCode.
  • At the top right click the ... icon.
  • Select 'Install from VSIX...' and choose the visx file.

@fbricon fbricon closed this as completed Nov 6, 2018
@ralfhandl
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completion
Projects
None yet
Development

No branches or pull requests

3 participants