Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not insert line break after = #594

Open
davidanthoff opened this issue May 24, 2022 · 3 comments
Open

Do not insert line break after = #594

davidanthoff opened this issue May 24, 2022 · 3 comments

Comments

@davidanthoff
Copy link
Contributor

Here is an example where it inserts a line break after a =. It changes

getallns() = let allns = Base.IdSet{Symbol}(); oneverything((m, s, x, state) -> push!(allns, s)); allns end

into

getallns() =
    let allns = Base.IdSet{Symbol}()
        oneverything((m, s, x, state) -> push!(allns, s))
        allns
    end

which it shouldn't do for the VS Code default.

@domluna
Copy link
Owner

domluna commented Jul 11, 2022

@davidanthoff what would the output be?

@davidanthoff
Copy link
Contributor Author

I think no change at all would be the right thing to do there, right?

@davidanthoff
Copy link
Contributor Author

Just wanted to bump this, I just tested this on the latest tagged version, and it still inserts line breaks for the MinimalStyle, which it shouldn't. Any chance we could fix this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants