So I've done a bit of Google search, and couldn't find anything recent with this problem.
I downloaded IntelliJ IDEA 2017.1 and it keeps closing my opened tabs. This happens after running the code and sometimes it happens kind of randomly (when opening other files or folders for example).
I'd be happy if somebody knows what causes this.
Note: My PC is connected to Active Directory with roaming profiles, could that have something to do with it? Messed up settings? Folder structure?