Sublime Forum

Sublime Text 4 Network Folders Linux

#1

Hello,

I use ST on windows & linux in the following manner. I use the sidebar with SideBarEnhancements & A File Icon. I add a folder to my project so I can access the text files in that folder and see them in the side bar. The folder I am accessing is located on a network share.

In ST3 on windows when I open ST3 it auto refreshes the folder list and I can go to work. It works the same in ST4 so no problems.

In ST3 on linux, i used to have to open ST then click open folder then there was a dialog to reconnect, Iā€™d have to re enter my credentials for my remote share and then press F5 to refresh my folders and then I could access my files from the side bar like usual. All was good.

Now in ST4 on linux, there is no dialog to reconnect to my network folder and when I do a file > open > and choose a file from the network folder, if i change something and save it, it asks me to upload the file. As a note I can browse to the folder on my linux machine and open files using another editor just fine.

Is there something I am missing. If not I need to revert back to ST3

Thanks

0 Likes

#2

Can you recreate that in Safe Mode in ST4? Nothing in Sublime should be asking you to upload anything anywhere unless you were using a package of some sort, I would think.

0 Likes

#3

OK
Also here is my current linux version information if it helps
Manjaro 21.0.5
Kernel 5.12.2-1-Manjaro
KDE 5.82.0 / Plasma 5.21.5

I launched Sublime Text 4 in Safe Mode with
subl --safe-mode

Once in Sublime text i chose to show open files to show the sidebar, then i went to add a folder to my project, I browse to my network shared folder, which is accessible from Manjaro. the sublime text dialog can see the share, and i can navigate to the folder, when I click add folder. nothing happens.

If i browse to the network folder and find my file and choose open, the dialog closes and nothing happens.

If I use Dolphin in manjaro to browse for my file, and then open it, it wants to open in Kate, if i right click on the file and choose open with sublime text, it opens the file in sublime how ever when I want to save the file I get the message:

The file smb://192.168.1.21/Sync/Keep Notes/Home Items.txt has been modified. Do you want to upload the changes?
*** See Screenshot below

When I try to open a file or folder in ST4 there is no option for opening from other location like there was in ST3. And while i can browse to my files, and folders, clicking open does nothing.
*** See Screenshot below

On ST3, there was an extra option for other locations and to connect to a remote system, when I entered my connection info (EG:// smb:///folder) and enter my credentials, I was able to add the folders. Then if i had powered off the machine and came back to ST i just had to relogin with my credentials and refresh the folders with F5 and all was good.
*** See Screenshot below

0 Likes

#4

Sublime Text 4 is behaving more correctly here. Your system is set up to use dolphin for the open file dialog, but Sublime Text 3 can only use the GTK open file dialog. This has changed for Sublime Text 4, which will correctly use the one specified by your operating system. If you prefer the GTK open file dialog, change your system settings to use it instead of dolphin.

1 Like