How can I set up Jupyter Notebook to wrap text in all cells?

I would like to be able to wrap text in my Jupyter Notebook cells. I’m using Windows 10 and I can see advice on how to do this on some other websites, but unfortunately I don’t understand the instructions and I do not have the status required to ask the original posters to clarify. They look like they are for use with Linux and they tell me to edit or perhaps even create a json file called nbconfig. I can’t tell exactly, and I have never edited a json file. More importantly, I can’t tell where I am supposed to enter these commands. Please can you provide me with some step by step instructions on how to do this with Anaconda Navigator on Windows 10? I would really appreciate it, especially since it looks like knowing how to do this will enable me to change other settings in Jupyter Notebook in the future.
Thank you very much for your assistance.

I figured out on my that I could edit the notebook.json file directly in Visual Studio Code, and I thought I would share how I did it here in case others are confused. I used code from this post:


First I found the file in the directory that looks like this: /home/username/anaconda3/etc/jupyter/nbconfig/notebook.json
Then I inserted this code:
{
“Cell”: {
“cm_config”: {
“lineWrapping”: true
}
}
}
You can also specify only code cells or only Markdown cells, as described on Stack Overflow, by including either of the following:

{
  "MarkdownCell": {
    "cm_config": {
      "lineWrapping": true
    }
  },
  "CodeCell": {
    "cm_config": {
      "lineWrapping": true
    }
  }
}

If you have something else in it, ensure you have valid JSON with no trailing commas after } s.

After editing notebook.json, restart Jupyter and reload your notebook.
If you don’t have Visual Studio Code you can probably open and edit it as a text file.

Thanks man,

You saved me a great lot of time.

Jupyter Notebook in Visual Studio Code is one of the great things that happen to VSCode community.

Using this config, it is very easy to run code snippets in the VS Code instead of the Jupyter Notebook.

Thanks again,