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 enhancement #25

Open
2 of 4 tasks
WeihanLi opened this issue Sep 14, 2024 · 0 comments
Open
2 of 4 tasks

Repl enhancement #25

WeihanLi opened this issue Sep 14, 2024 · 0 comments

Comments

@WeihanLi
Copy link
Owner

WeihanLi commented Sep 14, 2024

  • more reference examples when print help info
  • support multi-lines input
  • support (Ctrl + Z) * 2 to exit
  • improve inline code-completion support
WeihanLi added a commit that referenced this issue Oct 2, 2024
WeihanLi added a commit that referenced this issue Dec 5, 2024
Related to #25

Enhance REPL to support multi-line input and improve inline code-completion.

* Add a `StringBuilder` to accumulate multi-line input.
* Append each line of input to the `StringBuilder`.
* Check for incomplete statements and allow continuation by checking if the input ends with " \".
* Clear the `StringBuilder` after processing the final input.
* Update the script execution to use the accumulated input from the `StringBuilder`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/WeihanLi/dotnet-exec/issues/25?shareId=XXXX-XXXX-XXXX-XXXX).
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

1 participant