You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even after enabling "Turn formatter on/off with markers in code comments" (path: File | Settings | Editor | Code Style)
the formatter ignores it and still formats lines that should not be changed.
For example:
// @formatter:off
let a =2
becomes:
// @formatter:off
let a = 2
The text was updated successfully, but these errors were encountered:
Hi @Phantom1472, we use Fantomas library for formatting F# code, and with it's current design it has to be implemented there first to be available in Rider.
@nojaf What do you think about supporting such markers?
Hello, this is being tracked in fsprojects/fantomas#1704.
I would like to have something in the likes of this supported.
I'm unfamiliar with the // @formatter:off syntax, so I can't say for sure we are going for this exact thing.
The scope of what is possible might be limited to start with but the request is accepted in principle.
Even after enabling "Turn formatter on/off with markers in code comments" (path: File | Settings | Editor | Code Style)
the formatter ignores it and still formats lines that should not be changed.
For example:
becomes:
The text was updated successfully, but these errors were encountered: