-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Support for comment continuation as a convenience? #536
Comments
Hello. Sorry for the complete radio silence! Good that @filipesilva reminded me about this suggestion. Anyway, here's a VSIX with the continuation implemented. I think it feels pretty good and would answer yes to your question. Right now I only continue line comments with two semicolons. But it would be easy to do it for any line starting with any number of semicolons. Please give it a spin and we can talk about what to do about this. |
And here's a build where we don't count the semicolons in order for continuation to happen. 😄 |
Cool! Thanks for working on it. How do I use this VSIX thing? Never used one before. |
It is how vscode extensions are packaged. See https://github.com/BetterThanTomorrow/calva/wiki/Testing-VSIX-Packages#installing-a-vsix-package |
@PEZ I tried the first build, and I like it! Although, it seems you mixed up the builds as this one does not seem to care how many semicolons are there. Personally, I would like two or more semicolons to continue automatically to the next line. Single semicolons left alone. |
I opted for continuation on any line that starts with a semicolon or more. So if a single semi colon is used at the end of a line, it won't be continued. |
Do we want to support certain groups of
;
as block comments? Meaning, upon hitting<enter>
the new line begins as a comment.Before:
;;; A quick brown fox... [cursor] <enter>
After:
Maybe we can follow the ELisp convention to identify which ones are block comments.
The text was updated successfully, but these errors were encountered: