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

Line wrap does not work #16030

Closed
catmoez opened this issue Mar 20, 2024 · 2 comments
Closed

Line wrap does not work #16030

catmoez opened this issue Mar 20, 2024 · 2 comments
Labels
status:Duplicate status:Needs Triage Applied to new issues that need triage

Comments

@catmoez
Copy link

catmoez commented Mar 20, 2024

Hello,

In Jupyter Notebook and Jupyter Lab (Version 4.0.12), turning on line wrap either via the checkboxes in Settings (in Jupyter Lab) or adding JSON code for setting 'configCodeCell' to wrap text in Advanced Settings/Settings Editor under Text editor does not work.

The issue is discussed here but the answers do not work:
https://stackoverflow.com/questions/48202340/enable-word-wrap-in-jupyterlab-code-editor
#15579 (an official and closed answer; the code provided currently does not work)
https://discourse.jupyter.org/t/my-jupyter-linewrap-doenst-work/24297

The closest I have gotten is the following in the Settings > Settings Editor > Notebook > Json(...) panel, i.e. there is no immediate error message and I can save the following settings. However, it still does not apply, even when restarting the entire Jupyter Lab program. If I enter 'codeCellConfig' (...) instead of 'editorConfig' as suggested in some answers, this is not recognized as a valid property.


   {
        "scrollPastEnd": true,
        "toolbar": [],
        "editorConfig": {},
        "editorConfig": {"lineWrap": "on"}
    }

Could you please provide official and full documentation of how to change this in Settings, or other steps that do work?

Thank you!

Copy link

welcome bot commented Mar 20, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Mar 20, 2024
@JasonWeill
Copy link
Contributor

@catmoez Thank you for opening this issue! Issue #15579 is still open concerning the menu item not working as expected. Let's keep the conversation going there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:Duplicate status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants