Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl+c doesn't work with languages that lack line comments #2770

Closed
zshipko opened this issue Jun 14, 2022 · 2 comments
Closed

Ctrl+c doesn't work with languages that lack line comments #2770

zshipko opened this issue Jun 14, 2022 · 2 comments

Comments

@zshipko
Copy link

zshipko commented Jun 14, 2022

I'm not sure how many supported languages don't have line comments, but in OCaml there are only block comments. This means that when toggle_comments is used it puts an empty block comment at the beginning of the line.

Instead of:

(* let a = 1 *)

You end up with

(**) let a = 1
@antoyo
Copy link
Contributor

antoyo commented Jun 14, 2022

My PR adding partial support for multi-line comment could probably be used as a starting point to support that.

@the-mikedavis
Copy link
Member

This falls under #1505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants