Skip to content

Props are not completed until component tag is closed #1884

Closed
@brunnerh

Description

@brunnerh

Describe the bug

In VS Code, props are not completed until the tag is closed.
This is a bit inconvenient as it does not match the typical order of operations, which for me at least is:

  • <ComponentName
  • Possibly auto-import the component
  • Set various properties
  • >

Reproduction

  • Add a component file component.svelte
    <script>
      export let value;
    </script>
    {value}
  • Import and write <Component val in another file
  • Check completions

Expected behaviour

Property value is suggested and nothing else.

System Info

  • OS: Windows 10, 64bit
  • IDE: VSCode

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

Open:
image

Closed:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglimitationConstraints of the existing architecture make this hard to fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions