Commit graph

12 commits

Author SHA1 Message Date
drdozer
41d6f1b5da feat: sound autocomplete matches anywhere in name using includes() 2025-09-11 21:37:35 +01:00
drdozer
9200a67a60 feat: add E# and B# to pitchNames for complete enharmonic coverage 2025-09-11 19:00:05 +01:00
drdozer
085e839bfe refactor: modularize autocomplete context handlers using strategy array 2025-09-11 18:59:26 +01:00
drdozer
7ff7e8852b 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-11 18:42:23 +01:00
Aria
a5886bb9d4 Use white-space instead; fix scrolling; don't close autocomplete tooltips on click 2025-08-26 14:14:00 -05:00
Aria
877bc95a58 Switch to more specific class and fix p->div 2025-08-26 12:54:39 -05:00
Felix Roos
215ab87809
fix: prettier 2025-08-21 09:41:21 +02:00
robase
3292f88810 fix: repl autocomplete not rendering correctly 2025-08-07 09:25:01 +02:00
Felix Roos
7157634db0 fix: autocomplete / tooltip code example bug 2024-01-09 22:34:16 +01:00
Felix Roos
89bf3b2817 fix: tooltip padding 2023-12-29 15:03:36 +01:00
Felix Roos
f524dde5ae tooltip without react + simplify autocomplete 2023-12-26 18:03:58 +01:00
Felix Roos
47aa4cf198 autocomplete without react 2023-12-26 17:56:07 +01:00
Renamed from packages/codemirror/Autocomplete.jsx (Browse further)