Search code examples
wolfram-mathematicauser-defined

List all User-defined Variables & Functions in a Notebook in Mathematica


Is there a way to list all the user-defined variables & function in a Notebook ?

I would like this for the comfort it brings to a notebook overview as well as to spot potential multiple use of a variable name (thus redefining it accidental)


Solution

  • To find names in a context, say in the Global context, try

    Names["Global`*"]
    

    --Nasser