Dyalog / ride

Cross-platform IDE for Dyalog APL
https://dyalog.github.io/ride
MIT License
198 stars 29 forks source link

Menubar overhaul #1071

Open abrudz opened 11 months ago

abrudz commented 11 months ago

This is the desired final menu, but since some entries imply added features, let's do as much of it as we can in time for 4.5:

Dyalog                          {mac}
  About             =ABT
  -
  Settings...           =PRF
  -
  Hide RIDE
  Hide Others                        
  Quit RIDE                    =QIT
&File                           {!browser}
  New Session...           =CNC  {mac}
  Clear Workspace               {!mac}
  Clear Log
  -  
  Save
    Folder...                  {!editor}
    File...                    {editor}
    Workspace...              {!editor}
  Open
    Folder...
    File...
    Workspace...                 =OWS {local}
    Recent
      workspace 1
      -
      folder 1
  -                             {!mac}
  &Quit                    =QIT {!mac}
&Edit
  Undo                     =UND {!browser}
  Redo                     =RDO {!browser}
  -                             {!browser}
  Cut                      =CT  {!browser}
  Copy                     =CP  {!browser}
  Paste                    =PT  {!browser}
  Select All               =SA  {!browser}
  -
  New
    Function/Operator...
    -
    Namespace...
    Class...
    Interface...
    -
    Character Vector...
    Character Matrix...
    Vector of Character Vectors...
  -                             {mac||!browser}
  &Find...                 =SC
  Find and &Replace...     =RP
  -
  Toggle comment           =TGC
  -                             {!mac}
  Preferences...           =PRF {!mac}
&View
  Session
     Language Bar        =LBR
     Status Bar          =SBR
     Workspace Explorer  =WSE
     Stack               =DBG
     Threads               =DBG
     -
     Wrap Long Session Lines  =WRP
     -                             {!browser&&!mac}
     Full Screen                   {!browser&&!mac}
  Editor
     Line Numbers             =LN
     Outline                  =TVO
     Stop Controls            =TVB
     Trace Controls            
     Monitor Controls         
  Status Window                           {!browser}
     Show                  =SSW
     Auto Pop-Up              =ASW
  Font Size
    Increase       =ZMI {!browser}
    Decrease       =ZMO {!browser}
    Reset          =ZMR {!browser}
&Window
  Close All Editor or Trace Windows        =CAW
  -
  foo                      {!mac}
  bar                      {!mac}
  baz                      {!mac}
  miserver.dws             {mac}
  /tmp/myproject           {mac}
&Run
  Edit                     =ED
  Trace                    =TC
  -
  Clear all trace/stop/monitor =CAM
  -
  Weak Interrupt           =WI
  Strong Interrupt         =SI
  Pause on Error           =POE
  Pause all Threads        =PAT
  Unpause all threads      =UAT
  Continue all threads     =MA
  -
  Reset Stack
&Help
  Getting &Started         =https://dyalog.com/introduction.htm
  -
  Dyalog &Help             =DHI
  &Language Elements       =LEL
  &GUI Overview            {local&&win}
  &Documentation Centre    =DOX
  -
  Dyalog &Website          =https://dyalog.com/
  &Email Dyalog            =EMD
  -
  Latest &Enhancements     =ENH
  Read &Me                 =RME
  &Third Party Licences    =TPL
  &About                   =ABT {!mac}

Paste the contents of Help → About (Shift+F1)

4.5.3770
abrudz commented 8 months ago

The connect screen menubar also needs to be OS-sensitive.

It is currently as it should be for macOS, but on all other platforms, the first menu should be "&File" with just "&Quit"; "&Preferences" should be on the Edit menu and "&About" should be on the Help menu.