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

Inline REPL Issues with Editing and Long Form Display #2975

Open
ertugrulcetin opened this issue Nov 8, 2024 · 2 comments
Open

Inline REPL Issues with Editing and Long Form Display #2975

ertugrulcetin opened this issue Nov 8, 2024 · 2 comments
Milestone

Comments

@ertugrulcetin
Copy link

Hey, thanks for the new inline REPL—it’s fantastic! I’m using version 1.14.0-eap1-2024.2 and have encountered a couple of issues:

  • When I evaluate a simple data structure like {:a 1 :b 2}, and my cursor is next to 2, pressing backspace to delete and replace it doesn’t work (I have to press ESC key before that). If I press another number without backspace, the find feature activates on the evaluated result. I think this should be disabled by default to allow direct editing.

  • If the form is too long to fit within the view, the evaluation result appears at the end of the form, which isn’t visible on the same line where the cursor is. For long forms, it would be helpful if results were displayed in-line with the cursor’s position for better readability.

@ertugrulcetin
Copy link
Author

@cursive-ide is there any plan for this?

@cursive-ide
Copy link
Owner

I'm not sure that I can fix your first issue. The input handling is actually very tricky between the inlays and the enclosing editor. I do plan to look at this since there are other annoyances (the REPL shortcuts don't work when the inline view is focused, for example), but I'm not sure how much I'll be able to achieve without breaking other things.

Several people have asked for the second, that is definitely on the list.

@cursive-ide cursive-ide added this to the 1.14 milestone Nov 13, 2024
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