Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform Independent Path to Sublime Folder #17

Open
nfarrar opened this issue Nov 23, 2014 · 1 comment
Open

Platform Independent Path to Sublime Folder #17

nfarrar opened this issue Nov 23, 2014 · 1 comment

Comments

@nfarrar
Copy link

nfarrar commented Nov 23, 2014

Is there a platform-independent way to save the backup files into our Sublime User directory, for example on OSX:

~/Library/Application Support/Sublime Text 3/Packages/User/AutoBackups

I can hardcode the path and the tilda expansion works correctly, but it's not portable to windows & linux.

@thecotne
Copy link
Collaborator

you can create 3 different settings file for different platforms

see http://docs.sublimetext.info/en/latest/customization/settings.html#types-of-settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants