How to disable moving inline comment to next line when using reformat?
Answered
I use clion and intellij rust plugins, and have the following code:
```rust
Null, // null
OpenBracket, // (
CloseBracket, // )
Comma, // ,
Add, // +
Sub, // -
```
When i use reformat (ctrl+alt+l), it makes the comments in next line:
```rust
Null,
// null
OpenBracket,
// (
CloseBracket,
// )
Comma,
// ,
Add,
// +
Sub,
// -
```
I have explore code style in the settings, but I can't find anything to disable it.
How to solve this problem?
Please sign in to leave a comment.
Hello!
Please follow https://github.com/intellij-rust/intellij-rust/issues/3657.
Thank you for your reply.
I will subscribe that issue.