mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 12:46:07 +00:00
> [!NOTE] > The https://github.com/tree-sitter-grammars/tree-sitter-svelte repository seems to be more well maintained, with higher quality code, and as per https://github.com/zed-extensions/svelte/issues/1 it was suggested that we swap to this repository for Svelte grammars - Closes https://github.com/zed-industries/zed/issues/17310 - Closes https://github.com/zed-industries/zed/issues/10893 - Closes https://github.com/zed-industries/zed/issues/12833 - Closes https://github.com/zed-extensions/svelte/issues/1 - Closes https://github.com/zed-industries/zed/issues/14943 - Closes https://github.com/zed-extensions/svelte/issues/2 - Added: buffer/file symbol outlines for `.svelte` (`outlines.scm`) - Improved: Attribute directives & modifiers in `.svelte` files can be styled independently. - Fixed: issue where svelte expression inside quotes failed parsing - Improved: Svelte components in Markup are styled differently from tags. - Added: Support for Svelte 5 syntax (`{#snippet children()}`, `{@render foo()`) - Change: Svelte now using [tree-sitter-grammars/tree-sitter-svelte](https://github.com/tree-sitter-grammars/tree-sitter-svelte) for language highlighting - Added: Support for typescript syntax in svelte expressions ![image](https://github.com/user-attachments/assets/49d199ee-7550-49a7-912d-070cf691b029) ![image](https://github.com/user-attachments/assets/848ac5b6-62da-4c42-8e24-b7023504f8af) Release Notes: - N/A --- **tree-sitter-grammar things to improve** - [ ] snippet functions aren't being treated as JS code - [ ] we should be able to detect @component comments and treat them as markdown - [x] `foo:bar` style/class/prop directives - [x] `--foo="..."` var fields - [ ] snippet/if blocks's children may need to be indented a little further Will implement some of the rest of these in a separate PR --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> |
||
---|---|---|
.. | ||
assistant | ||
development | ||
extensions | ||
languages | ||
additional-learning-materials.md | ||
channels.md | ||
code-of-conduct.md | ||
collaboration.md | ||
completions.md | ||
configuring-languages.md | ||
configuring-zed.md | ||
contribute-to-zed.md | ||
conversations.md | ||
development.md | ||
environment.md | ||
extensions.md | ||
feedback-and-support.md | ||
fonts.md | ||
getting-started.md | ||
git.md | ||
key-bindings.md | ||
languages.md | ||
linux.md | ||
multibuffers.md | ||
remote-development.md | ||
repl.md | ||
snippets.md | ||
SUMMARY.md | ||
system-requirements.md | ||
tasks.md | ||
telemetry.md | ||
themes.md | ||
vim.md | ||
windows.md |