Syntax highlighting + autocomplete for Svelte 5 files (.svelte) in Notepad++.
β οΈ This is a User Defined Language (UDL) β it ships as XML, not as a binary plugin. No compilation needed, works with stock Notepad++.
<script>, <style>$state, $derived, $effect, $props, β¦){#if} / {:else} / {/if}, {#each}, {#await}, {#snippet}, {#key}){@render}, {@html}, {@const}, {@debug}, {@attach}bind:, on:, use:, transition:, class:, style:git clone https://github.com/<you>/notepad-svelte-support
cd notepad-svelte-support
.\scripts\install.ps1 # Dark theme (default)
.\scripts\install.ps1 -Theme Light # Light theme
UDL (syntax highlighting):
Language β User Defined Language β Define your languageβ¦udl/Svelte.xml (or Svelte-Light.xml)Autocomplete:
autocomplete/Svelte.xml to:%ProgramFiles%\Notepad++\autoCompletion\Svelte.xmlSettings β Preferences β Auto-Completion β β Enable auto-completion on each inputOpen a .svelte file β language should be auto-detected.
The samples/ folder contains real Svelte 5 components:
Counter.svelte β runes, blocks, await, stylesTodoList.svelte β bindings, each blocks, events.\scripts\uninstall.ps1
# Validate XML files
./scripts/validate.sh
This project starts as a UDL. If real Svelte support needs more (like multi-language lexing of HTML+CSS+JS within one file, or context-aware autocomplete), Phase 2 will be a real C++ Notepad++ plugin. See docs/ROADMAP.md.
Found a missing keyword? A wrong color? PRs welcome! Edit the udl/*.xml, run ./scripts/validate.sh, open PR.
MIT β see LICENSE.
Inspired by other community Notepad++ language packs (e.g. the official userDefinedLanguages repo). Color palette inspired by VSCode Dark+ / Light+.