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

How can I globally disable the REPL autocomplete preview function? #3286

Open
alwaysAn0n opened this issue Mar 24, 2021 · 1 comment
Open
Labels

Comments

@alwaysAn0n
Copy link

  • Node.js Version: v14.16.0
  • OS: Debian 10 Linux [ 4.19.0-9-amd64 Update README for help #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux ]
  • Scope (install, code, runtime, meta, other?): REPL settings
  • Module (and version) (if relevant): N/A

Since the introduction of the REPL preview function, nodejs native REPL based tools have become impossible to use. Every letter I type fills my terminal window with preview information I don't want to see. When my terminal isn't full screen, it's not uncommon for the unwanted preview information to wrap 3 or 4 lines, making it very difficult for me to see what I'm trying to type.

I understand that I can set the preview attribute to false in the REPL settings object but I often don't access to the REPL config object because it's being called by some other library. Most third party REPL tools use the default settings without providing a way to override them. I'm hoping there's an environment variable of some other way that I can disable REPL preview.

This new feature is so jarring that I've refrained from upgrading past Node v10. Any help would be greatly appreciated. Please note, I'm not asking how to make REPL preview less jarring. I'm asking how I can completely disable it so that regardless of who's REPL tool I'm using, I don't see the preview output.

Steps to reproduce:

  1. node -i on Node version 12 or higher
  2. type proc
  3. Observe the huge stringified object that I don't care about seeing
node -i

-->

Copy link

It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment.
If you need further assistance or have questions, you can also search for similar issues on Stack Overflow.
Make sure to look at the README file for the most updated links.

@github-actions github-actions bot added the stale label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant