sveltejs / sveltejs/svelte.dev
Snippets issues in editor
Nobody has claimed this yet.
- Dominant language
- Svelte
- Stars
- 330
- Forks
- 278
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
Highlighting is broken when using destructuring (same with @render and passing objects):
No autocomplete:
Doesn't auto-close when typing {/ in open snippet. This is how it works for {#if}, but this doesn't happen for snippets:
Severity:
mild at best, focus on other stuff first 🙂 great work with the release and the omnisite!
but I felt like in my issue reporting era so yea, put this as deep into the backlog as it can go
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Reproduce the editor behavior with destructuring, @render object arguments, and an open snippet, then trace the relevant editor handling; done means correct highlighting, autocomplete, and {/} auto-closing for snippets.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100