Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Jump from the REPL to the namespace or previous project buffer? #11

@dotemacs

Description

@dotemacs

Hi @volrath

we spoke earlier on Slack about adding the ability to move back from the REPL to the previous buffer, as that functionality doesn't exist currently for spiral.

spiral-switch-to-repl-buffer currently only goes one way, from the project buffer to the REPL.

Before implementing this feature, there are two options:

  1. cider's cider-switch-to-last-clojure-buffer, as the name suggests jumps back to the previous project buffer.

  2. But there is also a possibility of jumping to the namespace which is currently loaded in the REPL.

The option 1. would essentially emulate cider's behaviour, whereas 2. am I just overthinking it?

I have the code for both, extracted as separate functions. I wanted to see what would be better to go with before I submit a PR. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions