Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

This question already has an answer here:

As much as Mathematica amazes me with endless variety of integrated functions and packages, inconsistency with functions parameters or finding details about a function takes some time and isn't as awesome.

Would it be possible to autoload documentation for currently typed function name? You can see attached screenshot to get the better idea of what I mean.

I know about Ctrl + Shift + K, but I'm interested in something more comprehensive.

enter image description hereThanks!

share|improve this question

marked as duplicate by m_goldberg, Sjoerd C. de Vries, rasher, Michael E2, ubpdqn Apr 28 at 8:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Place your mouse cursor anywhere in the symbol or at its end and press the F1 key. –  m_goldberg Apr 27 at 12:37
    
I know about F1 but resizing window, clicking on "Details" takes a lot of time if you repeat it many times. Help also takes some time to load –  Bruno314 Apr 27 at 12:46
    
You have to resize only once. The second time you use F1 it uses the previous size. –  Sjoerd C. de Vries Apr 27 at 14:14
    
    
For making resizing easy and other common window option setting, you might this answer useful. –  m_goldberg Apr 27 at 14:22

1 Answer 1

I don't think that the following code will be easy to put in shortkeys file but it is a good start:

curr = EvaluationNotebook[];
nb = Documentation`HelpLookup["Plot"];
SelectionMove[Cells[nb, CellStyle -> "NotesSection"][[1]], All, Cell];
FrontEndTokenExecute[nb, "OpenCloseGroup"];
FrontEndTokenExecute[#, "WindowMiniaturize"] & /@ DeleteCases[Notebooks[], nb | curr];
FrontEndTokenExecute["TileWindowsTall"]

What procedures above do:

  • line(2): open documentation reference link
  • line(3-4):open Details & Options section
  • line(5): minimize all the windows except out current notebook and help.
  • line(6): tile windows tall :P

Results at the bottom of the post.

reference link to FrontEndTokens


A different Idea:

Instead of creating a new shortcut for this operation it probably can be done as follows:

Capture F1 with that code but use the code from above. There will be an issue with detecting which notebooks should be minimized but I think this way is promissing. I don't have time to try it now, maybe later, but I can't promise.


Before:

enter image description here

After:

enter image description here

share|improve this answer

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