Closed fourier closed 6 years ago
The File->Open command is currently letting the user browse for a file and then prefixes the path with )load or )xload. I think there was talk about doing more than that, but that's where we are today.
I could certainly extend the menu with options to let you open any file and the question then becomes what you would expect to happen. Options I can think of:
)ED file://path
would open any text file for editing but content is not saved in workspace (unless you make a change and then fix at which point it will prompt).
2 ⎕FIX 'file://path'
would attempt to fix the content fo the file specified.
]SALT.Load path
as with 2 above but using the user command.
I mean we have an option in "Open" dialog to select a file type already (see screenshot), with Workspaces as the only option. Why not to add *.dyalog here and edit them as a normal files? Then in editor there could be an option to FIX current file.
Sure, if we go with option 1 we can use the same menu item. Of course, I would then remove the restriction on extension completely as you may want to edit a text file with a different extension.
Describe the issue you are having
Currently it seems not possible to edit text file with extenison .dyalog containing Dyalog APL source code from the IDE. File->Open allows to open only workspaces
Did you connect to an already running interpreter or start the interpreter from RIDE?
Start interpreter
How do you reproduce the issue?
Try to open any something.dyalog file via File->Open menu
Paste the contents of Help → About (Shift+F1)