Command completion in mathematica : suggest rules/options

后端 未结 2 1861
生来不讨喜
生来不讨喜 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:00

    I don't believe there is any included function to auto-complete a string. I also cannot recall a way to view all valid settings for a particular option, other than searching the help files.

    You can expedite input with the Options Inspector settings InputAliases and InputAutoReplacements, allowing entry by EsctxtEsc or txtSpace.

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题