I often end up chaining pipes as follows and in jupyter notebook at least, I have to input a tab after every pipe. Would it be possible somehow to tell the language server to indent after I input a pipe and return?
processed_string = open(filepath, "r") do io
read(io) |>
StringView |>
v -> split(v, '\n') |>
v -> filter(startswith("|"), v) |>
v -> filter(x -> !startswith(x, "| ---"), v) |>
s -> join(s, '\n') |>
s -> replace(s, " | " => ',', "| " => "", " |" => "")
end
P.S I know Chain.jl
exists, I just prefer doing it without needing to import Chain
for every notebook.