Code Formatting - Comments moved to new line

When formatting Javascript, any comments within /*...*/ that are at the end of a line are moved to a new line.

So If I start with this:


....after formatting I get this:

Can this be turned off? I've looked through the code style settings and couldn't seem to find an option for it. Thanks!

2 comments
Comment actions Permalink

Unfortunately, at this moment it's not possible. I logged the issue as https://youtrack.jetbrains.com/issue/WEB-33968, please follow it to be notified on updates.

2
Comment actions Permalink

Understood, thanks for logging it!

0

Please sign in to leave a comment.