Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locate multiple ports for a single project #3234

Commits on Aug 10, 2022

  1. Locate multiple ports for a single project

    Searching for a nrepl port to connect to would return a maximum of one
    port per project, ignoring any others that you might want to connect
    to. This creates a case where when connecting to a shadow-cljs nrepl
    server the port is not presented to you as a completion when you
    already have another nrepl server running.
    
    This commit changes nrepl-extract-port to nrepl-extract-ports and the
    return type from a single port to a list of ports (including nils
    where a specific project type nrepl port file doesn't exist) to
    provide the full view of nrepl servers that are available in the
    project, and then the cider-locate-running-nrepl-ports fn is changed
    to accommodate that.
    
    This fixes clojure-emacs#3140.
    danmidwood committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    afc1296 View commit details
    Browse the repository at this point in the history