Fork me on GitHub
#cursive
<
2017-07-06
>
bfabry21:07:32

for me when I hit enter while inside a ;; comment I get another line of ;;

bfabry21:07:44

that's what used to happen

bfabry21:07:46

now not so much

bfabry21:07:02

when did that change

joelsanchez21:07:26

well there's an autowrap option but i don't want to do that to code

joelsanchez21:07:02

in fact i want to wrap myself, Cursive just needs to ;; the lines

bfabry21:07:13

yeah I swear to god it used to

bfabry21:07:23

also used to add indentation

cfleming22:07:03

@bfabry It definitely should do that, I’ll try it later.

cfleming22:07:40

@joelsanchez You can also do Edit-&gt;Fill Paragraph in docstrings.

cfleming22:07:04

The width it fills to is controlled by Settings-&gt;Editor-&gt;Code Style-&gt;Clojure-&gt;General-&gt;Docstring fill width

joelsanchez22:07:09

what Cursive does is inserting the ;; when you break the line you have written

joelsanchez22:07:24

but not if you enter a newline

cfleming22:07:29

It’s independent of the code width.

cfleming22:07:53

Sorry, you can fill in docstrings and comment blocks.

bfabry22:07:55

yeah I see that behaviour as well. I'm pretty sure newline used to also insert it and maintain indent though

cfleming22:07:01

I’ll check the comment enter thing

joelsanchez22:07:22

tried Fill paragraph, it works with (comment) , docstrings and the #_" example i pasted above

cfleming22:07:51

But not with line comments?

joelsanchez22:07:56

not with line comments!

cfleming22:07:35

Ok, I’ll investigate all that.