Is there an easy way to select all initialization cells (and only those) in a Mathematica notebook?
My method is to define a special style in stylesheet for initialization cells. Here is my definition:
Then you can use alt+i to insert an initialization cell / convert an existing cell to
|show 18 more comments|
Here is a method that can be run on existing notebooks, but has some drawbacks.
It leverages the Evaluate Initialization Cells option by redefining
First, we have a function that will set the
The drawbacks are: