Dyalog / Dyalog/ride

File>Save/Save As… missing from menu

Open
#799 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
233
Forks
35
Avg merge
4m
Merged PRs (30d)
2

Description

### Describe the issue you are having
In today's world, we prefer working with text files. However, this is complicated by not being able to save one's APL item to a text file.

### Did you connect to an already running interpreter or start the interpreter from RIDE?
N/A.

### How do you reproduce the issue?
* `)ed foo`
* Open the File menu and look for "Save" or "Save As…"

### Paste the contents of Help → About (Shift+F1)
```
IDE:
Version: 4.4.3653
Platform: Win32
Date: 2021-11-03 07:08:06 +0100
Git commit: 882ba6e8017c8ebddb775c9d7d0bff59918851a9
Preferences:{
"autoCloseBrackets":"0",
"autoPW":"1",
"colourScheme":"Dracula",
"confirmations":"{\"SaveFileOptionsExtension:.apln\":100,\"SaveFileOptionsExtension:.dyalog\":100,\"\":100}",
"indentOnOpen":"0",
"kbdLocale":"en_GB",
"keys":"{\"BK\":[\"Alt-Up\",\"Ctrl-Shift-Backspace\"],\"DK\":[\"Ctrl-Shift-D\"],\"FD\":[\"Alt-Down\",\"Ctrl-Shift-Enter\"],\"FX\":[\"Ctrl-S\"],\"QCP\":[\"Ctrl-Shift-P\"],\"ZM\":[\"Ctrl-Shift-Up\"],\"PF11\":[\"F11\"]}",
"lbarOrder":"← +-×÷*⍟⌹!? |⌊⊥⊤⊣⊢ =≠≤<>≥≡≢ ∨∧⍲⍱ ↓⊂⊃⊆⌷⍋⍒ ⍳⍸∊⍷∪∩~ /\\⌿⍀ ,⍪⍴⌽⊖⍉ ¨⍨⍣.∘⍤⍥@ ⍞⎕⍠⌸⌺⌶⍎⍕ ⋄⍝→⍵⍺∇& ¯⍬ ↑○⌈ ",
"menu":"# see below for syntax\n\nDyalog {mac}\n About Dyalog =ABT\n -\n Preferences... =PRF\n - \n &Quit =QIT\n&File {!browser}\n &Open... =OWS {local}\n &New Session =NEW\n &Connect... =CNC\n - {!mac}\n &Quit =QIT {!mac}\n&Edit\n Undo =UND {!browser}\n Redo =RDO {!browser}\n - {!browser}\n Cut =CT {!browser}\n Copy =CP {!browser}\n Paste =PT {!browser}\n Select All =SA {mac}\n - {!mac&&!browser}\n Find\n &Find =SC\n &Replace =RP\n Preferences... =PRF {!mac}\n&View\n Show Language Bar =LBR\n Show Status Bar =SBR\n Show Workspace Explorer =WSE\n Show Debug =DBG\n Line Wrapping in Session =WRP\n - {!browser}\n Stops =TVB\n Line Numbers =LN\n Outline =TVO\n - {!browser}\n Increase Font Size =ZMI {!browser}\n Decrease Font Size =ZMO {!browser}\n Reset Font Size =ZMR {!browser}\n - {!browser}\n Toggle Full Screen {!browser}\n&Window\n Close All Windows =CAW\n&Action\n Edit =ED\n Trace =TC\n -\n Clear all trace/stop/monitor =CAM\n Weak Interrupt =WI\n Strong Interrupt =SI\n&Threads {rp21}\n Pause on Error =POE\n Pause all Threads =PAT\n Resume all Threads =RSU\n Restart all Threads =MA\n&Help\n Getting &Started =https://dyalog.com/introduction.htm\n -\n Dyalog &Help =DHI\n &Language Elements =LEL\n &Documentation Centre =DOX\n -\n Dyalog &Website =https://dyalog.com/\n &Email Dyalog =EMD\n -\n Latest &Enhancements =ENH\n Read &Me =RME\n &Third Party Licences =TPL\n &About =ABT {!mac}\n\n# Syntax:\n# &x access key, alt+x\n# =CMD command code; some are special:\n# LBR WRP WSE render as checkboxes\n# =http://example.com/ open a URL\n# {} conditional display, a boolean expression\n# operators: && || ! ( )\n# variables: local browser mac win\n# - separator (when alone)\n# # comment\n\n# The =PRF (\"Preferences...\") menu item must be present.",
"pfkeys":"[\"\",\"\",\"\",\"\",\"()\",\"\",\"\",\"\",\"\",\"\",\"\",\"()\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]",
"selectedExe":"C:\\Program Files\\Dyalog\\Dyalog APL-64 18.2 Unicode\\dyalog.exe",
"zoom":"5"
}

Interpreter:
Version: 18.2.44766
Platform: Windows-64
Edition: Unicode/64
Date: Nov 12 2021 at 11:46:07

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the File menu definition shown in the Help → About menu configuration and the handling of the `)ed foo` editor. Confirm how an APL item can currently be opened, then add Save and Save As… behavior for text files and verify the new menu actions work when editing an item.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.