Matthew Pocock
cb011c8bb0
Add autocomplete for mode function
...
- Added modePreColonHandler for autocomplete of mode values (below, above, duck, root)
- Added modeAfterColonHandler for pitch name completion after colon in mode:anchor syntax
- Follows same pattern as sound/bank/scale handlers for complex expressions
- Supports expressions like '<above [below root]>' with proper fragment matching
- Uses regex pattern (?:[\s\[\{\()<])([\w:]*)$ to handle delimited expressions
2025-09-15 18:44:30 +01:00
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
drdozer
978616833a
Merged autocomplete.mjs conflict.
2025-09-15 13:01:16 +01:00
froos
2e97fb7be2
Merge pull request 'supradough: fix delay + add some jsdoc types' ( #1578 ) from supradough-fixes into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1578
2025-09-15 00:00:18 +02:00
Felix Roos
df1934f87b
add some typechecking + fix delay
2025-09-14 23:54:51 +02:00
froos
d3472feb5c
Merge pull request 'added plyWith/plyWithClassic functions' ( #1571 ) from Dsm0/strudel:add_plyWith into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1571
2025-09-14 12:42:57 +02:00
Dsm0
addb6db1c7
updated names + snapshot
2025-09-14 02:21:25 -07:00
froos
566d590453
Merge pull request 'feat: sound alias' ( #1494 ) from Antipathie/strudel:feature/592-sound-alias into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1494
2025-09-14 10:39:11 +02:00
froos
e57bd98da0
Merge branch 'main' into feature/592-sound-alias
2025-09-14 10:34:47 +02:00
Dsm0
f5c4373f99
added plyWith/plyWithClassic functions
2025-09-13 17:21:19 -07:00
froos
e762291bb7
Merge pull request 'Bug Fix: Allow penv values to be falsy' ( #1559 ) from glossing/strudel:glossing/penv-with-zeros into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1559
2025-09-14 01:20:14 +02:00
Felix Roos
9da027d377
hotfix: format
2025-09-14 01:11:34 +02:00
froos
96dccdc38b
Merge pull request 'Update website/src/pages/workshop/first-sounds.mdx' ( #1566 ) from fesmith/strudel:main into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1566
2025-09-14 01:10:47 +02:00
Felix Roos
d6254294b0
fix: bring back tests on external PRs (push doesn't cut it for forks)
2025-09-14 01:09:30 +02:00
froos
339c1bb573
Merge pull request 'fix: autocomplete-styles + html rendering' ( #1570 ) from autocomplete-styles into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1570
2025-09-14 01:07:47 +02:00
Felix Roos
9782795761
fix: autocomplete container style
2025-09-14 01:04:48 +02:00
Felix Roos
2d2b238da9
fix: use template element for string to html
2025-09-14 01:03:14 +02:00
froos
f0839e02eb
Merge pull request 'Feature: Synonyms in autocomplete and reference' ( #1535 ) from glossing/strudel:glossing/synonyms-in-autocomplete into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1535
2025-09-14 00:49:16 +02:00
Felix Roos
a9f7d825c8
hotfix: format
2025-09-14 00:40:54 +02:00
Aria
709b654ed3
Add synonyms to autocomplete
2025-09-13 16:21:09 -05:00
drdozer
c265595536
Merge branch 'feature/autocomplete-sound-names' of ssh://codeberg.org/drdozer/strudel into feature/autocomplete-sound-names
2025-09-13 21:36:48 +01:00
drdozer
1670aebad8
Updated the gitignore rules for vscode.
2025-09-13 21:36:24 +01:00
drdozer
39460eb100
Commiting lockfile.
2025-09-13 21:36:24 +01:00
drdozer
cd659ac2a1
feat: sound autocomplete matches anywhere in name using includes()
2025-09-13 21:36:24 +01:00
drdozer
ed182d4b3f
Updated the codemirror packages to be able to access additional imports.
2025-09-13 21:36:24 +01:00
drdozer
90614612e2
feat: add E# and B# to pitchNames for complete enharmonic coverage
2025-09-13 21:36:24 +01:00
drdozer
6b6d4b86a6
refactor: modularize autocomplete context handlers using strategy array
2025-09-13 21:36:24 +01:00
drdozer
0b67473bd3
refactor: modularize autocomplete context handlers using strategy array
2025-09-13 21:36:24 +01:00
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
froos
d81a214c74
Merge pull request 'Docs: add xen package examples' ( #1446 ) from dudymas/strudel:docs/xen/added-tune into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1446
2025-09-13 20:01:47 +02:00
froos
e57f240e70
Merge branch 'main' into docs/xen/added-tune
2025-09-13 20:00:35 +02:00
Felix Roos
e18296e760
hotfix: word
2025-09-13 19:52:07 +02:00
froos
c145355ccc
Merge pull request 'Update website/src/pages/learn/code.mdx' ( #1391 ) from anecondev/strudel:main into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1391
2025-09-13 19:51:09 +02:00
fesmith
352a3c39d7
Update website/src/pages/workshop/first-sounds.mdx
2025-09-13 00:00:36 +02:00
drdozer
c85a4d4fc1
Merge branch 'feature/autocomplete-sound-names' of ssh://codeberg.org/drdozer/strudel into feature/autocomplete-sound-names
2025-09-12 12:12:02 +01:00
drdozer
7676641c9e
Commiting lockfile.
2025-09-12 12:11:36 +01:00
Dr Mathew R Pocock
260d2e499e
Merge branch 'main' into feature/autocomplete-sound-names
2025-09-12 13:04:11 +02:00
Felix Roos
a46617f3f0
hotfix: use ?audioworklet for supradough worklet import
2025-09-12 10:16:37 +02:00
Felix Roos
d164b5e7f5
Revert "Revert "Merge pull request 'supradough poc' ( #1362 ) from supradough into main""
...
This reverts commit c0bf86d11e .
2025-09-12 10:08:55 +02:00
Felix Roos
c0bf86d11e
Revert "Merge pull request 'supradough poc' ( #1362 ) from supradough into main"
...
This reverts commit 6f06683d70 , reversing
changes made to 637d714ab2 .
2025-09-11 23:19:22 +02:00
Switch Angel AKA Jade Rose
6f06683d70
Merge pull request 'supradough poc' ( #1362 ) from supradough into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1362
2025-09-11 22:52:29 +02:00
drdozer
e3409e52d0
Merge branch 'feature/autocomplete-sound-names' of ssh://codeberg.org/drdozer/strudel into feature/autocomplete-sound-names
2025-09-11 21:38:53 +01:00
drdozer
41d6f1b5da
feat: sound autocomplete matches anywhere in name using includes()
2025-09-11 21:37:35 +01:00
Dr Mathew R Pocock
aca4601734
Merge branch 'main' into feature/autocomplete-sound-names
2025-09-11 21:22:16 +02:00
drdozer
2a00fcdf5d
Updated the codemirror packages to be able to access additional imports.
2025-09-11 19:01:22 +01:00
drdozer
9200a67a60
feat: add E# and B# to pitchNames for complete enharmonic coverage
2025-09-11 19:00:05 +01:00
drdozer
80fe5b8140
refactor: modularize autocomplete context handlers using strategy array
2025-09-11 18:59:50 +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
Felix Roos
637d714ab2
Publish
...
- @strudel/mondo@1.1.4
@strudel/mondo@1.1.4
2025-09-11 19:14:00 +02:00