4
$\begingroup$

Every time I create a new notebook, I have to go into the settings and click

Evaluation > Notebook's Default Context > Unique to This Notebook.

Is there any way to make Mathematica do this automatically when I create a new notebook?

$\endgroup$
  • 3
    $\begingroup$ If you search for Context in the options inspector, you might get what you need by selecting "Global Preferences" from the upper left drop down, and then setting the CellContext to Notebook $\endgroup$ – Jason B. Apr 6 '18 at 17:14
  • $\begingroup$ @JasonB. I'm having a hard time finding the options inspector. $\endgroup$ – Pro Q Apr 10 '18 at 2:18
  • 1
    $\begingroup$ @JasonB.: This worked for me. Would you like to post it as an answer? Or I can write one, if you'd prefer. $\endgroup$ – Nate Eldredge May 4 at 15:29
5
$\begingroup$

Here is a programmatic way of what Jason has pointed:

CurrentValue[$FrontEnd, CellContext] = Notebook

This setting will persists across sessions so you can use $FrontEndSession too. Lookup those symbols to learn more.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.