Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically log code #27

Closed
tmhglnd opened this issue Apr 5, 2020 · 3 comments
Closed

Automatically log code #27

tmhglnd opened this issue Apr 5, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@tmhglnd
Copy link
Owner

tmhglnd commented Apr 5, 2020

Add an option to automatically store the current code everytime the code gets executed. This can be stored under ~/Documents/Mercury/logs for example.

@tmhglnd tmhglnd added the enhancement New feature or request label Apr 5, 2020
@GuillemGongora
Copy link

Oh, that's super nice for keeping track of the changes!!
Thank you!!

@tmhglnd
Copy link
Owner Author

tmhglnd commented Apr 8, 2020

Sadly it's not yet implemented, but i'm working on it!

@tmhglnd
Copy link
Owner Author

tmhglnd commented Apr 10, 2020

This is now included in the latest commit. There are 2 ways to turn on the Auto Logging:

  1. Click the toggle Auto Log Code in the main mercury window
  2. Run the code autoLog 1 in the mercury code editor

The setting is also automatically stored in the preferences.

The logs are stored under: /Users/<username>/Documents/Mercury/Code Logs/(same on mac and windows)

Also added the recording feature that stores the files to /Users/<username>/Documents/Mercury/Recordings/

@tmhglnd tmhglnd closed this as completed Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants