https://github.com/ojack/hydra-editor-cm6
https://github.com/ojack/hydra-editor-cm6
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ojack/hydra-editor-cm6
- Owner: ojack
- Created: 2022-06-11T16:45:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-13T17:31:37.000Z (about 4 years ago)
- Last Synced: 2025-02-24T05:45:32.468Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://ojack.xyz/hydra-editor-cm6/
- Size: 445 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WIP [hydra](https://hydra.ojack.xyz) editor built using Codemirror6
Code inspiration from: https://github.com/folz/hiasynth/tree/main/packages/editor
To implement:
- flash highlighting on evaluation
///- autocomplete
///- custom keymaps
- internationalization
- bundle as module as well as standalone editor with iframe API that can be used along with hydra-synth
Already implemented:
- bracket matching
- multi-selection
- key command for commenting code
Autocomplete ideas:
- include common code snippets
- allow to prepopulate with random reasonable values, or with defaults
- snippet completion? https://github.com/codemirror/lang-javascript/blob/main/src/snippets.ts
- move parameter hints to tooltips rather than autocomplete
- draggable parameters similar to glslEditor / chrome dev tools (widget decoration)