Skip to content

add REPL hooks #2

@stevengj

Description

@stevengj

As suggested by @dawbarton, in JuliaLang/julia#28789 (comment), it is possible to hack the active REPL to use SoftGlobalScope. Would be nice to add this feature here, so that using SoftGlobalScope patches the active REPL if there is one.

Similar to this code in OhMyREPL.jl, we would do this in __init__ only in interactive mode.

@KristofferC, your advice on the cleanest way to patch the REPL's eval loop would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions