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

[AUTO] Format files using DocumentFormat #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

DocumentFormat.jl would suggest these formatting changes

docs/make.jl Outdated
)

deploydocs(;
repo="github.com/julia-vscode/SymbolServer.jl",
repo = "github.com/julia-vscode/SymbolServer.jl"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comma should not be removed (it should neither add nor remove commas in this situation).

@take(max_versions) |>
collect)
) |>
collect
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation here seems to fall back to the align defaults, whereas it should just be based on indent levels.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird, this looks like a bug

isfile(x)
catch
false
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These line breaks should not be added.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try isfile(x); catch; false end

is automatically rewritten across lines atm

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think I probably identified a couple of instances that are all based on the same underlying logic here. We just need an option for that, right?

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These line breaks should not be added.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to clarify you mean the line break where there semicolon was?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and I guess also the line break after the first = shouldn't be added. I just should stay one line as in the original.

test/runtests.jl Outdated
@test occursin(r"^vscjlsymserv-\w{8}-\w{4}$", basename(p))
else
@test occursin(r"^/tmp/vscjlsymserv-\w{8}(?:-\w{4}){3}-\w{12}$", p)
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't add these line breaks.

@github-actions github-actions bot force-pushed the create-pull-request/patch branch 3 times, most recently from 14cf5ec to 425eea8 Compare March 16, 2022 08:56
@github-actions github-actions bot force-pushed the create-pull-request/patch branch 2 times, most recently from 5ded21a to bca565f Compare April 29, 2022 09:12
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from bca565f to 77165c2 Compare May 23, 2022 11:15
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 77165c2 to b03cb53 Compare June 28, 2022 15:18
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from b03cb53 to 75502f8 Compare July 26, 2022 05:45
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 75502f8 to 697f032 Compare August 18, 2022 22:00
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 697f032 to 04949a3 Compare August 31, 2022 13:04
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 04949a3 to 5f3d394 Compare October 14, 2022 13:13
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 5f3d394 to 264d604 Compare March 28, 2023 15:05
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 264d604 to 321e7e4 Compare May 11, 2023 02:16
@github-actions github-actions bot force-pushed the create-pull-request/patch branch 2 times, most recently from fc90ea4 to 35c341a Compare September 4, 2023 11:42
@github-actions github-actions bot force-pushed the create-pull-request/patch branch 3 times, most recently from 9d6b4de to 26ccc86 Compare September 18, 2023 13:11
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 26ccc86 to 19a5cf5 Compare September 25, 2023 11:29
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 19a5cf5 to 04d3aaf Compare October 27, 2023 20:26
@github-actions github-actions bot force-pushed the create-pull-request/patch branch 2 times, most recently from f20057e to 22ae4fa Compare November 10, 2023 10:01
@github-actions github-actions bot force-pushed the create-pull-request/patch branch 2 times, most recently from 13dff49 to 15f6346 Compare January 5, 2024 13:14
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 15f6346 to 38740ce Compare February 17, 2024 21:05
@github-actions github-actions bot force-pushed the create-pull-request/patch branch 3 times, most recently from 0290800 to 783ac90 Compare May 6, 2024 18:05
@github-actions github-actions bot force-pushed the create-pull-request/patch branch 4 times, most recently from 10d467a to c86ef1a Compare May 29, 2024 23:54
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from c86ef1a to 660a78c Compare June 28, 2024 12:51
@github-actions github-actions bot force-pushed the create-pull-request/patch branch from 660a78c to 2b23a5e Compare June 28, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants