Desktop App code editor improvements
Author: 255kbCreated May 28, 2024Updated Jun 3, 2026
Labelsstatus:need-investigationcomponent:app
The current code editor could be improved. However, this may require to switch to another one (esp, due to no. 1 below), possibly CodeMirror or Monaco, the latter being a bit harder to integrate in Angular, it seems.
What could be improved or is missing:
- code linting for mix of handlebars and json/xml/etc --> supported by codemirror, but apparently not possible with Ace Editor
- use vscode keybinding instead of default --> available on both CodeMirror and Ace
- use Nord theme, to align with website --> available on both CodeMirror and Ace
- handle font zooming to solve #1659
- having built-in code formatting would be great
This could solve #884 and maybe #1365
Source: mockoon/mockoon