You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to load Revise.jl in your .julia/config/startup.jl file, you need to use the following formulation, not the one on the Revise.jl homepage:
atreplinit() do repl
@asynctrysleep(0.1)
@evalusing Revise
@async Revise.wait_steal_repl_backend()
catch@warn("Could not load Revise.")
endend
OhMyREPL.jl
When sending code to the REPL, OhMyREPL.jl may intercept opening parentheses and autocomplete the closing parenthesis at the end of the same line. This means that if you execute code like this:
string(1,
2,
3)
it will appear in the REPL like this:
julia>string(1,)
1
julia>2,
(2,)
julia>3)
ERROR: syntax: extra token ")" after end of expression
The workaround is to disable bracket autocompletion after you load OhMyREPL:
OhMyREPL.enable_autocomplete_brackets(false)
Intellisense
Disable intellisense in comments
When using Literate.jl or Weave a lot of text is written into comment sections of a .jl document and the intellisense might be counterproductive here.
VS Code provides options that you can set to control this behavior. You can completely turn off suggestions in comments with this in your "settings.json" file: