5 ms·
I'm extremely glad to see something like this. I've tried to use Zed so many times, and this might sound neurotic -- but there are just so many little theming t
by thecatapps 4mo ago
I'm extremely glad to see something like this. I've tried to use Zed so many times, and this might sound neurotic -- but there are just so many little theming things that make a difference to me.
For example, https://imgur.com/a/ia2GCgg https://imgur.com/a/ia2GCgg -- top is VSCode, bottom is Zed. Both using Svelte, and using a similar theme.
- Angle brackets are a different color
- Capitalized built-in components are a different color
- Boolean props are a different color
- Brackets are colored differently than text.
The inspector is a game changer, clicking into these specific things in the preview they provide is super helpful.
- konart 4mo ago>theming things But those are syntax highlights. What does this have to do with theming? I'm not a Zed user, but https://zed.dev/docs/reference/all-settings#colorize-brackets https://zed.dev/docs/reference/all-settings#colorize-bracket... surely you can configure those.
- TonyStr 4mo agoI don't use zed or svelte, but this looks like the zed picture is missing a treesitter parser for svelte. Many editors have basic regex-based highlighting for many languages, and optional, more advanced, highlighting available through extensions. You may also get some semantic highlights provided by a language server if your editor uses the Language Server Protocol as well. I found one extension from a web search. Did you try this? https://zed.dev/extensions/svelte https://zed.dev/extensions/svelte
- thecatapps 4mo agoIt's been a while, but from what I remember you need that extension for any highlighting at all, and that screenshot is with it installed. Also, if I recall, it's something about that extension using an outdated treesitter parser or something along those lines.
- giancarlostoro 4mo agoSounds to me like one major Zed enhancement should be to suggest plugins if you open specific programming language files...
- notpeter 4mo agoIt does this, but only for a couple dozen file extensions -- .svelte is one of them. https://github.com/zed-industries/zed/blob/c8f09caee42ea4e27991ca55257f6f9c7d7c67d2/crates/extensions_ui/src/extension_suggest.rs#L15 https://github.com/zed-industries/zed/blob/c8f09caee42ea4e27...
- pjerem 4mo agoFWIW, I have had good results asking LLMs converting themes from an app/ide to another.