strudel/packages/codemirror
drdozer d87ce960d2 feat: implement context-aware autocomplete
Adds context-sensitive autocompletion for:
- Sound names in s("...") and sound("...") after the opening quote or after whitespace/bracket
- Bank names in bank("...") with quote handling and live filtering
- Scale types in .scale("...") after the colon, inserting colon-form for multi-word names
- Pitch names (C, C#, Db, etc.) for scale keys on explicit completion (Ctrl+Space) before the colon
- Blocks fallback completions in scale context before colon to avoid function list cross-talk
2025-09-13 21:36:24 +01:00
..
themes comment 2025-06-18 20:44:09 -04:00
autocomplete.mjs feat: implement context-aware autocomplete 2025-09-13 21:36:24 +01:00
basicSetup.mjs removed duplication and unnecessary keymappings in codemirror config 2025-07-16 15:17:34 -07:00
codemirror.mjs removed duplication and unnecessary keymappings in codemirror config 2025-07-16 15:17:34 -07:00
flash.mjs fixed strudel bool 2025-04-19 16:10:38 -04:00
highlight.mjs fix: markcss can now override styles (like color) 2025-03-20 09:10:12 +01:00
html.mjs hotfix: fix build error 2023-12-27 13:28:20 +01:00
index.mjs migrate custom themes awa from @uiw/codemirror-themes 2025-01-26 23:48:27 +01:00
keybindings.mjs removed duplication and unnecessary keymappings in codemirror config 2025-07-16 15:17:34 -07:00
package.json Publish 2025-09-11 08:26:20 +02:00
README.md add codemirror package 2023-05-05 15:13:17 +02:00
slider.mjs move stuff for less changes 2024-03-17 04:36:48 +01:00
themes.mjs comment 2025-06-18 20:44:09 -04:00
tooltip.mjs hotfix: fix build error 2023-12-27 13:28:20 +01:00
vite.config.js remove cjs builds 2024-02-08 12:19:11 +01:00
widget.mjs spectrum widget 2024-12-16 23:11:01 +01:00

@strudel/codemirror

This package contains helpers and extensions to use codemirror6. See vite-vanilla-repl-cm6 as an example of using it.