Skip to content

Multi-line Julia Code #40

@BradyAJohnston

Description

@BradyAJohnston

When working in VSCode, multi-line code runs if you run the whole cell, but if the code is split over multiple lines and you use the CMD + Enter / Ctrl + Enter to run a single-line, it only attempts to run the one line and breaks.

With the chunk below, hitting Ctrl+Enter on the first line:

randn(
    10
)

Results in this error:

julia> randn(
ERROR: syntax: incomplete: premature end of input
Stacktrace:
 [1] top-level scope
   @ code:1

Multi-line but not whole-chunk execution would be very handy. Thanks for the great plugin so far though!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions