Skip to content

Calling navigateToFile on directory makes rstudio crash #321

@Roleren

Description

@Roleren

I keep forgetting difference between filesPaneNavigate (which I want to use, i.e. move folder view to specified directory) and navigateToFile (which opens a file, and crashes the whole session if given a directory).

I can't be the only one, and Rstudio crashes with no way to rescue or no message if you feed a directory to navigateToFile (Ubuntu 22, rstudioapi 0.17.1)

If you want I can make a pull request for a simple dir check with abort ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions