Sublime Forum

Escape comma (,) in file path for sublime find in files

#1

As the title says, I have a file path which is having comma in it. For e.g /home/jimy/projects/try,outs
When I do find in files with this path it only takes till comma i.e. /home/jimy/projects/try.

So how to escape the comma in it?

0 Likes

#2

Since ST using commas to combine paths and search filters, I am guess you’re out of luck here.

Example:
C:\Temp\projects\try,outs,C:\Temp\batch,C:\Temp\old,*.cmd

You could start search from projects folder, or just rename try,outs to try_outs

Hoping somebody else get a better idea…

.

1 Like

#3

This is impacting me as well. File structures are stored on Microsoft OneDrive which stores our company fullname: /Users/foobar/OneDrive - Foobar Company, Inc/

Files stored here are un-searchable due to this limitation.

1 Like

#4

this has also been logged here

I guess there’s no cross platform path separator character?

0 Likes

#5

I’m facing the issue on OSX, but I suspect same issue in Windows/Linux platforms.

0 Likes

#6

I can confirm it also happens in Ubuntu Linux.

Specifically SFTP network folders mounted via GVFS that get assigned annoyingly specific paths like /run/user/1000/gvfs/sftp:host=host-domain.com.au,user=username/

0 Likes

#7

I am having the same problem as kenjim due to the comma in my OneDrive company name.

0 Likes