Tell me more ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sometimes I only remember parts of a function name and I want find that function name quickly, and if I search in the document center, it will give too much informations related to that and difficult to find what I'm looking for. So is there a way to print out all the MMA functions in alphabetical order in a notebook, so that I can search only in the function names? Thanks.

share|improve this question
4  
Names["System`*"] might be what you are after. – Andy Ross Feb 23 at 17:32
2  
Related: Names["*KnownPart*"] adding the appropriate contexts as needed. – rcollyer Feb 23 at 17:38
If you listing of all functions in all packages with context name attached, there is a list here 12000.org/my_notes/compare_mathematica/V9/main_c/main_c.html – Nasser Feb 23 at 21:54

1 Answer

up vote 7 down vote accepted

There is Documentation`HelpLookup["guide/AlphabeticalListing"]

If you want to tweak it yourself, you can start with

SetAttributes[makeSearchable, Listable];
(* Thanks @rm-rf *)
makeSearchable[s_String] := Hyperlink[s, "paclet:ref/" <> s]

firstLetter = StringTake[#, 1] &;

CreatePalette[
 OpenerView@{firstLetter@First@#, Column@makeSearchable@#} & /@ 
   SplitBy[
    Pick[#, StringMatchQ[#, WordCharacter ..]] &@Names["System`*"], 
    firstLetter] // Column, WindowTitle -> "Function list", 
     WindowElements -> {"VerticalScrollBar"}]

However, the practical approach is, as suggested, to use Names with the "*" character for unknown parts, or better still, Information, as in ?Pl* (or the autocompletion functionality)

share|improve this answer
You can also do this without the HelpLookup function. Simply replace Column@makeSearchable@# with Column[Hyperlink[#, "paclet:ref/" <> #] & /@ #]. I like this because clicking a different links does not launch a new doc window (default doc center behaviour) and you can always open a new window with rt.click – rm -rf Feb 23 at 20:19
@rm-rf that's worth editing in, thanks! – Rojo Feb 23 at 20:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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