put scratches under version control

Hi there,

is it possible to bring the scratches under version control, which is accessible from the IDE?

I've located the local storage path, initialized a git repo and pushed my stuff to github. But I cannot access the git repo from the IDE, so I can't see the status nor am I able to do any version control related actions on that path from the IDE.

TIA

Marcus

3
5 comments

Please vote or comment for a corresponding feature request https://youtrack.jetbrains.com/issue/IDEABKL-7607 to increase it's priority & to be notified about its updates.

0

Thank you Dmitry. Since the ticket is several years old I guess I will never see this feature in phpstorm :(

0

Unfortunately there are little to no votes so yeah, I wouldn't hold my breath for it.

 

0

Yea I really want this as well. Especially for the database consoles, which I understand are scratch files attached to a database? I am writing and testing SQL queries in here and it is a very good resource for others to reference if I could get it into the git repo...

0

quite old thread but I stumbled upon this while looking for the same feature. I ended up setting up a git repo in scratches folder my self. I can open that folder as another project, make changes, commit etc. then in my project I can use the scratches as before. any changes i made will be tracked by git that i can manage in the scratches project. 

I believe scratches folder is moved to the new version when you update the ide so it shouldn't be an issue (hopefully)

1

Please sign in to leave a comment.