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

[Feature Request] Implicit Printing and Last Outputs in JupyterEnv #123

Open
alperenunlu opened this issue May 12, 2023 · 2 comments
Open
Labels
enhancement New feature or request Initiative: REPL/Jupyter mojo Issues that are related to mojo mojo-repo Tag all issues with this label

Comments

@alperenunlu
Copy link

Request

Need Implicit Printing and accessing the last outputs using "_" and "__" in Playground

Motivation

For testing the language features using implicit printing and accessing last outputs in notebook environment helps a lot.

Description and Requirements

let x: Int = 2
x

outputs:
2

x * x

outputs:
4

_, __

outputs:
(4, 2)

@alperenunlu alperenunlu added the enhancement New feature or request label May 12, 2023
@czheo
Copy link

czheo commented May 13, 2023

Maybe also _1, _2 and etc. Here are some examples: https://stackoverflow.com/questions/200020/get-last-result-in-interactive-python-shell

@sa-
Copy link
Contributor

sa- commented May 13, 2023

Support for jupyter's tab completion and shift tab for documentation would also be very appreciated!

@ematejska ematejska added the mojo Issues that are related to mojo label Sep 7, 2023
@Mogball Mogball added the mojo-tooling Tag for all issues related to repl, lldb, lsp, vscode extension. label Feb 22, 2024
@linear linear bot removed the mojo-tooling Tag for all issues related to repl, lldb, lsp, vscode extension. label Apr 29, 2024
@ematejska ematejska added the mojo-repo Tag all issues with this label label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Initiative: REPL/Jupyter mojo Issues that are related to mojo mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

5 participants