Sublime Forum

Get file path for image files

#1

You can right-click inside a text file and there’s a menu option to copy the file path. This doesn’t exist for image files, but it could, if the get-full-path functionality were more general-purpose and not tied to a text editor view being loaded.

1 Like

#2

Yes, that’d be. Unfortunatly, it’s not accessible, even from a plugin. I don’t know why, but when you try to get .file_name() for an image, you get None, instead of its full path…

So, +1 from me

0 Likes