Sublime Forum

Click a filename to open file, Sublime Text opens empty tabs

#1

I have Sublime Text 3 (Build 3065) installed on several machines (Windows, Linux, and Mac). All work fine, except one Windows 7 machine:

  1. Open Windows Explorer

  2. Navigate to file that I want to open, for example read me now 7.txt

  3. Click on file (default text editor is Sublime Text)

  4. Sublime Text opens several tabs with names from the name of the file, for example read, me, now, and 7

  5. All tabs are empty; in other words, I cannot see the contents of the file

  6. I can still open files as expected with CTRL+O

Any thoughts on what might be happening?

0 Likes

#2

Hi, This is happening to me as well. Used not happen. Didn’t change anything but install plugins. I don’t know which one would be if it’s plugin.

But i have some insight into error.

If you double click file it will open empty
if you write in it and try to save it. It will give error.
Error would like this:

couldn’t find file at path C:\users\name 1…\projFold\1…\projFold.
This means that space in username could have destroyed something. I am on windows btw. so it could be that.
The username is split in two name + space + 1 and then everything from 1 to file destination is appended to the actual path again.

basically it’s like a\b 1\c\d\e(TheFileDir) but sublime is trying to find it here: a\b 1\c\d\e\1\c\d\e which is obviously not going to work.

Someone tell me how can i fix this. Does sublime has settings where clear this up.

0 Likes

#3

I cannot repro this Windows 7, ST 3074

0 Likes

#4

try having your username with space in it. ( i don’t know how to really make it not work, because with this username it used to work fine)

0 Likes

#5

Created a user account with space on it, nothing. I cannot repro this problem.

Be sure to revert your ST installation. This is very likely caused by a package or a by a bad entry on regedit, added manually by the user and not by the software.

sublimetext.com/docs/3/revert.html

0 Likes

#6

I am having a similar problem on Mac OS 10.11. I go to folder and open up saved files - they are all empty.

0 Likes

#7

Try add those files to your registery :wink:
https://mega.nz/#!MkhQxZrB!Srevb4O9upf3kQlx-VTw2WdYyZ9l62umxuMhjoxccrY

0 Likes

#8

Do you still have these files? I can’t access the domain for your link at work. Could you please put them on github and link to that since I could access them that way?

0 Likes

#9

Well, since no one else did it, I went ahead and added the file on github in case anyone else can’t access mega.nz.

https://github.com/earhax/SublimeTextApp/raw/main/Edit%20with%20Sublime%20Text%203.zip

And here’s a revision of these files for versions after v3 (no version number in the exe file path for sublime_text.exe).

https://github.com/earhax/SublimeTextApp/raw/main/Edit%20with%20Sublime%20Text(post%20v3%2C%20no%20version%20number%20in%20exe%20path).zip

0 Likes