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?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityEvery 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?
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.
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$