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

No autocompletion until the root element is added #123

Closed
felixfbecker opened this issue Sep 14, 2018 · 4 comments
Closed

No autocompletion until the root element is added #123

felixfbecker opened this issue Sep 14, 2018 · 4 comments
Assignees
Labels
completion This issue or enhancement is related to completion support file association
Milestone

Comments

@felixfbecker
Copy link
Contributor

felixfbecker commented Sep 14, 2018

I associated a schema via a file pattern:

"xml.fileAssociations": [
    {
      "systemId": "https://raw.githubusercontent.com/felixfbecker/PowerShellXSD/master/Format.xsd",
      "pattern": "**/*.Format.ps1xml"
    }
  ]

When I create a new file, I do not get any autocompletion for

  • The xml declaration and its attributes
    • Ideally this should suggest a snippet where version defaults to 1.0 and encoding to utf-8
  • The root element (despite it being know through the file association)

2018-09-14 18 06 39

@NikolasKomonen
Copy link
Contributor

NikolasKomonen commented Sep 14, 2018

xml declaration and its attributes

Right now the xml declaration doesn't have completion setup, I'll be getting to that soon. (#85 )

The root element

Personally not sure about that one

@angelozerr
Copy link
Contributor

xml declaration and its attributes

@NikolasKomonen has intention to do. See #85

The root element (despite it being know through the file association)

I will do it. I affect me this issue since the root element doesn't work. For the xml declaration compeltion, please see #85

@angelozerr angelozerr self-assigned this Sep 17, 2018
@angelozerr
Copy link
Contributor

@felixfbecker it should work now but only if you type '<'. I will see if it's easy to to that with ctrl+space only.

@angelozerr
Copy link
Contributor

@felixfbecker it should work now with ctrl+space too (without typing '<')

@fbricon fbricon added this to the v0.0.1 milestone Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completion This issue or enhancement is related to completion support file association
Projects
None yet
Development

No branches or pull requests

4 participants