Skip to content

Code formatter will trigger wolfram lint(Different Line) #3

@asukaminato0721

Description

@asukaminato0721
foo[someVery[xxx], someVeryLongFunctionName[xxx, xxx], someVeryLongFunctionName@ xxx]

Will be formatted into

foo[someVery[xxx], someVeryLongFunctionName[xxx, xxx], someVeryLongFunctionName
     @ xxx]

then
image


May be can be like this?

foo[
    someVery[xxx], 
    someVeryLongFunctionName[xxx, xxx], 
    someVeryLongFunctionName @ xxx
]

Also, <| |> has this problem.

<|xxx -> xxx, xxx1 -> xxx, xxx2 -> xxx, xxx3 -> xxx, xxx4 -> xxx, xxx5 -> xxx|>

Becomes

<|xxx -> xxx, xxx1 -> xxx, xxx2 -> xxx, xxx3 -> xxx, xxx4 -> xxx, xxx5
     -> xxx|>

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions