- Refactored handlers to use consistent early return pattern for better readability
- Added blocking behavior for unquoted contexts (sound(, scale(, bank()) to guide users toward correct syntax instead of showing irrelevant fallback completions
- Fixed soundHandler to show all sounds when fragment is empty (e.g., sound(""))
- Simplified bankHandler by removing complex quote handling logic in favor of consistent blocking pattern
- Made scale handler regex patterns consistent (removed leading dots)
- All handlers now follow same structure: block unquoted contexts, provide completions for quoted contexts
|
||
|---|---|---|
| .. | ||
| themes | ||
| autocomplete.mjs | ||
| basicSetup.mjs | ||
| codemirror.mjs | ||
| flash.mjs | ||
| highlight.mjs | ||
| html.mjs | ||
| index.mjs | ||
| keybindings.mjs | ||
| package.json | ||
| README.md | ||
| slider.mjs | ||
| themes.mjs | ||
| tooltip.mjs | ||
| vite.config.js | ||
| widget.mjs | ||
@strudel/codemirror
This package contains helpers and extensions to use codemirror6. See vite-vanilla-repl-cm6 as an example of using it.