hello! I’m new both to Julia (need to quickly learn it to get a bunch of things done) and also fairly new to IntelliJ IDE’s, however I’ve crafted a pile of Rust code using Rustrover lately so I think I got the hang of basic use.
Here’s some first impressions of the FlexibleJulia plugin, note that I don’t know Julia virtually at all.
first, automatic code indentation looks wonky to me. I’m not familiar with the recommended style for Julia, but here’s how the Flexiblejulia plugin formats some trivial(?) little code and it seems off to me:
module Testing
struct Asdf
asdf
qwe
end
function Foo(a, b)
a + b
end
struct Baz
qux
quux
end
export Foo
end #module
using .Testing
The same, when typed in emacs with julia-mode, letting emacs indent every line automatically, this looks more readable to me:
module Testing2
struct Asdf
foo
fooo
end
function Foo(a, b)
a * 2b
end
struct Baz
qux
quux
end
export Foo
end
using .Testing2
Then, the documentation says there’s “native .ipynb support”. My limited experience with .ipynb and Python is that i can write stuff in cells, execute them, see useful output, and that there’s basic keyboard shortcuts to execute and split cells. This works fine in my PyCharm. However, in IDEA with the plugin, the notebook looks weird and i can’t figure out how to execute a cell in any other way than the small button in the row of buttons,
and shift+enter just adds a new line in the current cell below the cursor. Also note the top right of the screenshot says “Julia REPL: Starting”, that text doesn’t go away, even whilte the REPL pane on the bottom of the IDE seems up and running. Not sure if I’ve created the notebook in a correct way? does the documentation say how to create it? I just created a file with the .ipynb extension, it seems to open as a notebook but it doesn’t really look usable the same way it does in PyCharm.