the-carlisle-group / Acre-Desktop

A simple Dyalog APL IDE plugin that introduces "projects" and allows you to keep your source code in Unicode text files.
MIT License
11 stars 1 forks source link

]setchanged should be able to save a new namespace and all its contents #202

Closed norberturkiewicz closed 4 years ago

norberturkiewicz commented 4 years ago

I..e

.ABC.A.[]CY 'file.dws'

]setchanged #.ABC.A -r

PhilLast commented 4 years ago

Syntax analogous to ]erase

]erase #.project.space -recursive

that erases the entire space and contents we could have:

]setchanged #.project.space -recursive

to add all appropriate items to the project that contains the space.

OK?

PhilLast commented 4 years ago

Apologies.

Apparently this used to work as requested with the .* suffix but when I changed Erase to require the -recursive switch I changed the message to "add switch '-recursive' to include space and contents" but failed to change the code of SetChanged so it's currently disabled.