-
Notifications
You must be signed in to change notification settings - Fork 32
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
base: master
Are you sure you want to change the base?
Conversation
docs/make.jl
Outdated
) | ||
|
||
deploydocs(; | ||
repo="github.com/julia-vscode/SymbolServer.jl", | ||
repo = "github.com/julia-vscode/SymbolServer.jl" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
14cf5ec
to
425eea8
Compare
5ded21a
to
bca565f
Compare
bca565f
to
77165c2
Compare
77165c2
to
b03cb53
Compare
b03cb53
to
75502f8
Compare
75502f8
to
697f032
Compare
697f032
to
04949a3
Compare
04949a3
to
5f3d394
Compare
5f3d394
to
264d604
Compare
264d604
to
321e7e4
Compare
fc90ea4
to
35c341a
Compare
9d6b4de
to
26ccc86
Compare
26ccc86
to
19a5cf5
Compare
19a5cf5
to
04d3aaf
Compare
f20057e
to
22ae4fa
Compare
13dff49
to
15f6346
Compare
15f6346
to
38740ce
Compare
0290800
to
783ac90
Compare
10d467a
to
c86ef1a
Compare
c86ef1a
to
660a78c
Compare
660a78c
to
2b23a5e
Compare
DocumentFormat.jl would suggest these formatting changes