strudel/packages/codemirror
drdozer c8875b29c1 Improve autocompletion behavior
- 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
2025-09-15 14:27:59 +01:00
..
themes comment 2025-06-18 20:44:09 -04:00
autocomplete.mjs Improve autocompletion behavior 2025-09-15 14:27:59 +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 fix: use template element for string to html 2025-09-14 01:03:14 +02: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 Updated the codemirror packages to be able to access additional imports. 2025-09-13 21:36:24 +01: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 Add synonyms to autocomplete 2025-09-13 16:21:09 -05: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.