Skip to content

Extension doesn't autocomplete some sections anymore? #48

@carolynvs

Description

@carolynvs

I used to be able to type the name of a mixin in the install section and autocomplete it. The extension would then add placeholders for all required fields.

e.g. I would type

install:
  - exec[TAB]

and get something like this

install:
  - exec:
       description:
       command:

and when I began to add a new field under exec, it would give me a list of values from the schema.

Instead this is what is happening (recording below). It doesn't show me the list of mixin names when I autocomplete under the install section, and when I try to tab complete the required fields for the mixin, it doesn't work. Also the autocomplete provided for the mixin fields is coming from values seen in the file previously and not from the schema.

Any ideas on what is messed up? I tried reinstalling the porter+yaml extensions and that didn't help. I could try reinstaling vs code entirely (which I've had to do before when things got weird) but since autocomplete is working for other parts of the file such as parameters, I'm wondering if there's been a change in the extensions or vs code that would cause this?

Screen.Recording.2021-10-01.at.3.03.35.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions