Skip to content

Run Selection/Line in xxx be more smart? #18105

Closed
@gonghenghai

Description

@gonghenghai

When we execute the command of Run Selection/Line in xxx, it only executes either the current line if nothing is selected or the selection. For example:

dtypes = {
    'date' : 'str',
    'item_code' : 'category',
    'branch_code' : 'category',
    'sale_qty' : 'float',
    'sale_val' : 'float',
    'return_qty' : 'float',
    'return_val' : 'float'
}

When I put my cursor at the first line, it would attempt to run dtypes = { only. But in the other IDEs such as RStudio, it's a little smart, it intelligently knows that the current line is part of a multiline statement and runs the whole statement.

Thanks.

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