14

I see that there's a control I can click to hide or "minimize" version 9.0's "suggestion bar". Is there a keyboard shortcut to do this?

Brett Champion
  • 20,779
  • 2
  • 64
  • 121
orome
  • 12,819
  • 3
  • 52
  • 100
  • 3
    Actually I was just wondering if there is a shortcut to force show it, in particular after a cell that lost it's output property (think changing the layout of a graph using the context menu). – Szabolcs Nov 29 '12 at 21:27
  • @Szabolcs: Yes: something to toggle it would be great. A surprising omission. – orome Nov 29 '12 at 21:30

3 Answers3

15

Here is the summary:

  • There is no shortcut (you can suggest here)

  • Quick close/open labeled minimize below

    enter image description here

  • Disable from Top Menu >> Edit >> Preferences...

    enter image description here

Vitaliy Kaurov
  • 73,078
  • 9
  • 204
  • 355
  • I don't want to disable. Just toggle. Are there UI/UX folks on staff at Wolfram? – orome Nov 29 '12 at 20:38
  • 8
    @raxacoricofallapatorius I know you don't - I just gave a complete summary for you and anyone else who reads this post. I also gave you the official root to suggest your concerns. – Vitaliy Kaurov Nov 29 '12 at 20:40
  • This setting doesn't just collapse it by default, it gets rid of the control to expand it altogether. Can that be right? – orome Dec 08 '12 at 19:59
3

The Mathematica documentation on keyboard shortcuts shows no shortcut for the hiding the suggestion bar

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
Tuku
  • 486
  • 2
  • 4
  • 1
    That's why I asked: seems incredible that you can't toggle something designed make interaction convenient with something convenient. – orome Nov 29 '12 at 19:14
  • Also, absence of information in the documentation means little, considering the state of Mathematica's docs. – orome Nov 11 '21 at 15:29
1

As already said by everyone else, there isn't a keyboard shortcut I'm aware of and don't currently know how to assign one.

But, I use the following when showing people the interface

Column[{Button["Predictive Interface Off", dummy1 = 2; SetOptions[EvaluationNotebook[],
ShowPredictiveInterface -> False], Appearance -> Dynamic[If[dummy1 === 2, "Pressed", 
Automatic]]], Button["Predictive Interface On", dummy1 = 1; 
SetOptions[EvaluationNotebook[], ShowPredictiveInterface -> True], Appearance -> 
Dynamic[If[dummy1 === 1, "Pressed", Automatic]]]}]

And because I need to practice programmatically building things, here's some code to put that into a palette (you'll need to restart Mathematica afterwards, and I couldn't quite get the Appearance option to be fully dynamic w.r.t to ShowPredictiveInterface)

NotebookSave[
CreateDocument[{ExpressionCell[
Column[{Button["Suggestions Off", dummy1 = 2; 
SetOptions[$FrontEndSession, ShowPredictiveInterface -> False],
    Appearance -> 
    Dynamic[If[dummy1 === 2, "Pressed", Automatic]]], 
    Button["Suggestions On", dummy1 = 1; 
    SetOptions[$FrontEndSession, ShowPredictiveInterface -> True],
Appearance -> Dynamic[If[dummy1 === 1, "Pressed", Automatic]]]}]]}, WindowSize -> All,      
ShowCellBracket -> False, 
WindowElements -> {}, WindowFrame -> "FramedPalette", 
Selectable -> "False", Editable -> "False", Saveable -> "False", 
PaneBoxOptions -> {Alignment -> {Center, Center}, 
ImageSizeAction -> "ShrinkToFit"}, 
StyleDefinitions -> "SystemPalette.nb", 
WindowTitle -> "Suggestions?"], 
FileNameJoin[{CreateDirectory[
FileNameJoin[{$UserBaseDirectory, "Applications", 
"SuggestionsBar", "FrontEnd", "Palettes"}]], 
"Suggestions-Palette.nb"}]]
rm -rf
  • 88,781
  • 21
  • 293
  • 472
Charlotte Hadley
  • 2,364
  • 19
  • 17