Command completion in mathematica : suggest rules/options

后端 未结 2 1862
生来不讨喜
生来不讨喜 2021-01-02 04:38

In current version of Mathematica these keyboard shortcuts are quite handy

Ctrl+K completes current command

GraphPl -> press Ctrl+K  -&         


        
2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-02 05:03

    Draft : work in progress ...

    This is the nearest I could reach so far, though It needs loads of enhancement, Adding it as it is hoping to get some Ideas from community. If anyone could help enhance it further, Or suggest any Idea, It would really be appreciated.

    ruleOfRule[list_] := Map[Rule[#, #] &, list];
    Manipulate[
     GraphPlot @@ {{"A" -> "B", "B" -> "C", "C" -> "A"}, 
       options}, {{options, {}}, ruleOfRule[Options[GraphPlot]]}, 
     ControlType -> CheckboxBar]
    

    options

提交回复
热议问题