[Ide] Correct $HOME for opening files on windows
[Ide] Don't open file multiple times when passed file/col