Sebastian Pfitzner

Results 716 comments of Sebastian Pfitzner

> It's questionable to change those after loading Julia, and while locally I can set them before launching VSCode that doesn't work for remote sessions. You can set that for...

Sure that's possible: ``` julia> data = [1 2 3; 4 5 6] 2×3 Matrix{Int64}: 1 2 3 4 5 6 julia> [data[:, i] for i in 2:size(data, 2)] 2-element...

I'm not trying to say it's more intuitive; it's just more *correct* in the general case :) That said, this is a false positive in a sense; AFAICT `readdlm` always...

I can't repro this with e.g. ``` julia> using Images, ImageShow julia> struct Foo end julia> function Base.show(io::IO, mime::MIME"image/png", img::Foo) show(io, MIME"image/png"(), rand(RGB, 2000,2000), maxpixels=1e9) end julia> Foo() ```

No, this is an actual issue. All of the following should save with the right file extension: ``` using Plots p = plot(1:10, rand(10)); display(p) display("image/png", p) display("image/svg+xml", p) ```

~Ok, I can repro the issue. Fix incoming :)~ Actually, no, I can't. Plots just does weird things with `fmt=:png`.

Mh, this is tricky. I'd very much like to avoid special-casing package-contributed macros...

A plugin mechanism is going to take a bit of design work -- the crux here is that it needs to be purely declarative, as the linter doesn't *run* any...

> and report an error What error are you getting?