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

Autocompletion missing space in value for default snippets when autocompleting on root node #364

Closed
1 of 4 tasks
JPinkney opened this issue Nov 26, 2020 · 0 comments · Fixed by #373
Closed
1 of 4 tasks
Assignees
Milestone

Comments

@JPinkney
Copy link
Contributor

Describe the bug

Using this schema:

{
    "properties": {
        "name": {
            "type": "string",
            "defaultSnippets": [
                {
                    "label": "some",
                    "body": "some"
                }
            ]
        }
    }
}

and autocompleting on the root node the resulting completion item is missing a space in between the key and the value.

Expected Behavior

name: some

Current Behavior

name:some

Steps to Reproduce

  1. Create a new yaml file
  2. Associate the schema above to the yaml file
  3. Autocomplete on the root node

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)
@evidolob evidolob added this to the 0.15.0 milestone Dec 9, 2020
@evidolob evidolob self-assigned this Dec 10, 2020
evidolob added a commit to evidolob/yaml-language-server that referenced this issue Dec 10, 2020
evidolob added a commit to evidolob/yaml-language-server that referenced this issue Dec 14, 2020
evidolob added a commit that referenced this issue Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants