dotBunny / VSCode

Unity Visual Studio Code Integration
MIT License
674 stars 181 forks source link

Only auto-opens on Unity (re)launch #124

Closed phest closed 8 years ago

phest commented 8 years ago

VSCode() gets called on Unity launch and when user presses play. This was auto opening and refocusing VS Code when user pressed play. CheckForAutoOpen() uses a timestamp to track whether Unity was relaunched and VS Code should be opened.

phest commented 8 years ago

This had a mistake, and haven't figured out how to squash history on an already pushed pull request, so I made a different one: #125.