uiwjs / react-textarea-code-editor

A simple code editor with syntax highlighting.
https://uiwjs.github.io/react-textarea-code-editor/
MIT License
484 stars 22 forks source link

Auto comment selection #145

Closed lucasmrl closed 1 year ago

lucasmrl commented 1 year ago

Hi!

Is it possible to implement something similar to https://www.jetbrains.com/help/mps/commenting-and-uncommenting-blocks-of-code.html? By pressing some shortcut defined by us, the code selected will be commented out.

Thanks!

jaywcjlove commented 1 year ago

This is a simple code editor, it is very difficult to implement this function

You can try to use https://github.com/uiwjs/react-codemirror

@lucasmrl

lucasmrl commented 1 year ago

Got it! Thank you for the response!