how to disable new line added when pressing enter to end block comment ?

Answered

I want to be able to insert an end of a block comment using [Enter] without inserting an additional new line,
Example :

/*
comment here | <- [Enter] pressed here
             <- new line here, not good :/
 */

Expected:

/*
comment here | <- [Enter] pressed here
 */   <- no new line here, me happy :)

thank you in advance

cheers!

2 comments
Comment actions Permalink

If you have the following option enabled, typing in the opening part of the block and hitting Enter will jump you to the next line and automatically close the block, no additional line breaks added:

0
Comment actions Permalink

ah, I can see the intended  behavior!

disabling the feature would work for me.

thank you for the feedback!

cheers!

0

Please sign in to leave a comment.