Uko
Uko

Reputation: 13386

How to recover script from closed workspace

Sometimes you write a script in a workspace for a long time, and then you exigently close that workspace. Can you recover lost script somehow?

Upvotes: 2

Views: 94

Answers (2)

Damien Cassou
Damien Cassou

Reputation: 2589

Click on the black triangle in the top right of a new workspace and select Previous contents.... This only works if you saved the content of the lost workspace (e.g., using Ctrl+s).

Upvotes: 5

Uko
Uko

Reputation: 13386

If not a lot of time ha passed after the workspace was closed, maybe it wasn't collected and the script will be available among:

Smalltalk tools workspace allInstances collect: #contents

Upvotes: 3

Related Questions