Open garazha-ilya opened 9 months ago
My version of Jupyter doesn't have a "Code completion" option in the "Settings" menu:
How did you get this? I just did a fresh install from Conda.
It sounds like Jupyter might sending IJulia an invalid completion request message on your machine. You could verify this by setting IJulia.verbose = true
, which causes every message from Jupyter to be printed in the terminal. Look for something like:
RECEIVED IPython Msg [ idents b9b9f847-93ce-492c-a345-333b8a8ec0e0 ] {
parent_header = Dict{String, Any}(),
header = Dict{String, Any}("msg_id" => ....),
metadata = Dict{String, Any}(),
content = Dict{String, Any}("cursor_pos" => ...., "code" => ".....")
}
My version of Jupyter doesn't have a "Code completion" option in the "Settings" menu:
How did you get this? I just did a fresh install from Conda.
On main menu:
I install Jupyter notebook via Ijulia instructions:
https://github.com/JuliaLang/IJulia.jl -> Quick start -> using IJulia; notebook()
After adding something stranger happens:
Now, in the end of the line, after pressing Tab, displays a lot of completion.
Also, I don't understand, where the Terminal and command IJulia.verbose = true
should be started and typed in?
Autocompletion works well, but errors inside output cell occured every time.
versioninfo()
:Julia Version 1.9.3 Commit bed2cd540a1 (2023-08-24 14:43 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 8 × 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-14.0.6 (ORCJIT, tigerlake) Threads: 1 on 8 virtual cores
using Pkg; Pkg.add("IJulia"); using IJulia; notebook()
Settings -> Settings Editor -> Code Completion -> Enable autocompletion -> true
In first evaluation (Shift + Enter) everything works fine, but after second evaluation of the same code occurs error message:
If autocompletion is disabled, then everything works normal.