Reputation: 469
I am simply trying to get Jupyterlab Version 1.1.4 to wrap code in cells.
I use the AdvancedSettingsEditor to implement the solution found here: Enable word wrap in JupyterLab code editor
However I get an error that
codeCellConfig is not a valid property
and the AdvancedSettingsEditor will therefore not permit me to save the updated config file.
If I could see the list of valid properties (perhaps dependent on JupyterLab version), I'd be able to do some trial and error. However I have not been able to find such a list.
I put the following text in the file opened for me by the AdvancedSettigsEditor:
{
//"definitions": {
//"editorConfig": {
// "properties": {
"codeCellConfig": {
"lineWrap": "wordWrapColumn",
"wordWrapColumn": 80
}
//}
//}
//}
}
The commented out properties were all attempts to make this work given the information found here: https://github.com/jupyterlab/jupyterlab/issues/5277
They all fail with the same error
<whatever_the_property_name> is not a valid property
Questions:
Upvotes: 2
Views: 1544
Reputation: 469
This is a partial answer.
When I posted the above question I failed to notice that despite appearances, the Advanced Settings Editor doesn't actually open a text file for you to change any setting you like.
Rather, it gives you a fragment of a text file. Which fragment depends on the category of setting selected from a list which appears on the left hand side. The beguiling appearance of what seemed to be a free form text file on which any setting could be changed led me to overlook the list on the left hand side.
Once I noticed said list, I selected "Notebook" from it and this is where the "codeCellConfig" setting can be amended without complaints.
One question remains however:
Upvotes: 6