A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/julia-vscode/julia-vscode/wiki/Known-issues-and-workarounds below:

Known issues and workarounds · julia-vscode/julia-vscode Wiki · GitHub

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
    @async try
        sleep(0.1)
        @eval using Revise
        @async Revise.wait_steal_repl_backend()
    catch
        @warn("Could not load Revise.")
    end
end

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:

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)
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:

{
    "editor.quickSuggestions": {
        "comments": false
    }
}

Or you can configure suggestions to not accept a suggestion on enter (and thus only accept suggestions on hitting the tab key):

{"editor.acceptSuggestionOnEnter": "off"}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4