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

REPL evaluation can't distinguish between multiple instances of the same REPL run config #2986

Open
cursive-ide opened this issue Nov 19, 2024 · 1 comment
Milestone

Comments

@cursive-ide
Copy link
Owner

If the user runs two instances of the same REPL run config, currently there's no good way to indicate which should be used to evaluate. There's really no way to distinguish this case, since REPLs are identified in config only by the name. If multiple copies are running, they should have an index (e.g. (1), (2)) in their REPL tab name, and when evaluating a popup should be shown so the user can choose.

@cursive-ide cursive-ide added this to the 1.14 milestone Nov 19, 2024
@onetom
Copy link

onetom commented Nov 19, 2024

REPL tabs can be renamed after opening them, so we would expect to see those tab names in the REPL selector drop-downs.

image

Expected drop down values

Actual values

  • api2
  • DEV
  • DEV

Those 2 DEV REPLs are remote nREPLs with the Allow multiple instances run config option ON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants