Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.
This repository was archived by the owner on May 7, 2020. It is now read-only.

Feature ideas (starting to implement, but looking for advice) #41

Closed
@JohnnyFun

Description

@JohnnyFun

I'm working on a few things and would like to know if you think they're good ideas.

  1. Improve go-to-def: currently typescript seems to ignore your extra extensions (.html, .svelte). I set the scriptKind, which made it include svelte/html files:
    image

And then updated the fallback resolution that had only been resolving as a relative path:

image

That mostly seemed to make non-relative references work, but some svelte files' symbols don't seem to get loaded, so not sure what's up there. Maybe you have some insight?

  1. Auto-import as you type component name like:
    capture

I started implementing this in HTMLPlugin.ts.getCompletions, but let me know if you prefer it elsewhere. Perhaps SveltePlugin would be more appropriate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions