Chop Down If Long is not supported in editorconfig?

已回答

While working with IntelliJ IDEA editorconfig support, it has been noticed that there doesn't seem to be a way to support "Chop Down If Long" for things like Chained Method calls.  I have tried various combinations of the allowed values:

ij_java_method_call_chain_wrap = (split_into_lines / on_every_item / normal / off)

Chop Down If Long is effectively a cross between "on_every_item" and "normal" I think, where if the line is too long it will wrap every item, otherwise it won't wrap at all.

Is this functionality missing from the editorconfig support (perhaps something like "ij_java_method_call_chain_do_not_wrap_if_one_line" needs to be added), or is there some other setting I need to set?

0

Hello,

Currently it's not supported. Feel free to create feature request on YouTrack: https://youtrack.jetbrains.com/issues/IDEA

1

请先登录再写评论。