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

Option to not show repl window on startup #922

Closed
practicalli-johnny opened this issue Jan 3, 2021 · 3 comments
Closed

Option to not show repl window on startup #922

practicalli-johnny opened this issue Jan 3, 2021 · 3 comments

Comments

@practicalli-johnny
Copy link

It would be very useful to not show the REPL output in a widow, to save space for the actual source code and test code windows.

Could there be a Calva configuration setting to define if the REPL output window should be displayed when starting the REPL?

This is the approach taken in Spacemacs and the majority of people I know who use Spacemacs. The REPL buffer is not show by default, although it can be opened if required. Personally I almost never have a separate REPL output window / buffer shown

This follows the advice of Stuart Halloway who encourages the Clojure community to not type into the REPL directly. Using the REPL directly is less efficient than using the source code buffers and evaluating inline or using data inspectors.

Sometimes the REPL is used to log output, which is also very inefficient especially as logs get longer. There are well established ways to view logs more efficiently than in the REPL (using mulog and elasticsearch)

When using data inspector tools (portal, reveal, rebel) also provide a more effective way to view, navigate and visualize results of evaluation, minimizing the need for an actually REPL output display.

Thank you.

@PEZ PEZ added the repl-window label Jan 3, 2021
@PEZ
Copy link
Collaborator

PEZ commented Jan 3, 2021

Makes sense. I thought we had such an option already. What you can do as a workaround is to have the output/repl window in the same window group as your other files.Then it won't take up space.

@PEZ PEZ mentioned this issue Jan 3, 2021
21 tasks
@PEZ PEZ closed this as completed in 86e9856 Jan 3, 2021
@bpringe
Copy link
Member

bpringe commented Jan 3, 2021

The REPL buffer is not show by default, although it can be opened if required. Personally I almost never have a separate REPL output window / buffer shown

I know this comes down to personal preference a bit, but for the sake of making the repl window less of a required thing to view output, I just want to link this enhancement that may improve this experience, which Calva used to have: #736

@PEZ
Copy link
Collaborator

PEZ commented Jan 3, 2021

Indeed. We should consider reinstating that hover!

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

3 participants