# \[Feature Request\] Improve the code editor

**URL:** <https://forums.ankiweb.net/t/feature-request-improve-the-code-editor/38849>\
**Category:** Suggestions\
**Created:** [December 26, 2023, 9:44pm UTC](https://forums.ankiweb.net/t/feature-request-improve-the-code-editor/38849 "2023-12-26T21:44:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![going2alaska](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/going2alaska/32/17702_2.png) [@going2alaska](https://forums.ankiweb.net/u/going2alaska)\
**Post date:** [December 26, 2023, 9:44pm UTC](https://forums.ankiweb.net/t/feature-request-improve-the-code-editor/38849/1 "2023-12-26T21:44:37Z")

</div>

It would be really awesome if the code editor was improved in Anki desktop.

The most annoying things missing I want are:  
• Hotkey for indent/dedent a line or selection  
• Hotkey for comment/uncomment a line or selection  
• Syntax highlighting

Another suggestion would be to embed VS Code’s monaco-editor. It will give all the above plus intellisense, smart indent, highlight problems, and moree!!!

Thank you!

 ![Screenshot 2023-12-26 at 3.56.34 PM](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/2/126022f8d18b8dd4ebcfbac1e5f2a099417ff296.jpeg)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [December 27, 2023, 4:42am UTC](https://forums.ankiweb.net/t/feature-request-improve-the-code-editor/38849/2 "2023-12-27T04:42:34Z")

</div>

> [@How do you manage CSS for each platform?](https://forums.ankiweb.net/t/how-do-you-manage-css-for-each-platform/38428/5):
>
> Such a feature may come in the future, when the card layout screen gets ported to Svelte.
