I made an add-on that worked on 05/21.
At some point between then and now it broke.
The old code is no longer in the revision history which only goes back to 05/22.
I have tested version 1
, and it works, which means it's using the right code.
I can run this working version, but I don't know how I can re-open the code for it.
How do I view the code for version 1
of my add-on?
EDIT
From @BryanP's comment, I've been informed that there is an existing request for this here.
It's a bit round the houses, but you could:
- Create a test project
- include the older version of your library
- Use the debugger to step into the older version of the code and then copy and paste it somewhere safe.
I use this technique to poke around in the libraries I'm using.
来源:https://stackoverflow.com/questions/33051601/how-to-check-out-code-from-old-version-with-google-docs-add-on-script