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

已回答

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!

评论操作 固定链接

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
评论操作 固定链接

ah, I can see the intended  behavior!

disabling the feature would work for me.

thank you for the feedback!

cheers!

0

请先登录再写评论。