Home Download Buy Blog Forum Support

Default save location and default file extension

Default save location and default file extension

Postby Jazcash on Thu Jul 04, 2013 9:59 pm

1) How do I set the default save location for a file?
2) How do I set the default file type when saving a file?
Jazcash
 
Posts: 3
Joined: Thu Jul 04, 2013 9:57 pm

Re: Default save location and default file extension

Postby adzenith on Fri Jul 05, 2013 3:21 pm

1) The default save location is the location of the last active saved file.
2) The default file type is based on the syntax applied to the buffer (shown in the lower-right corner, on the status bar).
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Default save location and default file extension

Postby Jazcash on Sat Jul 06, 2013 5:27 pm

adzenith wrote:1) The default save location is the location of the last active saved file.
2) The default file type is based on the syntax applied to the buffer (shown in the lower-right corner, on the status bar).


1) Not for me, mine always defaults back to the Sublime install directory
2) It says "Plain text" but it never appends the .txt extension automatically.
Jazcash
 
Posts: 3
Joined: Thu Jul 04, 2013 9:57 pm

Re: Default save location and default file extension

Postby Matt777 on Tue Jul 16, 2013 2:26 pm

Is it possible to define the default extension (txt for example)?
Matt777
 
Posts: 6
Joined: Fri May 03, 2013 11:46 pm

Re: Default save location and default file extension

Postby Jazcash on Sun Jul 28, 2013 8:10 am

bump
Jazcash
 
Posts: 3
Joined: Thu Jul 04, 2013 9:57 pm

Re: Default save location and default file extension

Postby Nolan on Tue Aug 27, 2013 4:45 am

I have the VERY same two questions!

1) The default save location is the location of the last active saved file.

Can we set somehow to always save on the desktop by default instead of current file's dir?

2) The default file type is based on the syntax applied to the buffer (shown in the lower-right corner, on the status bar).


My syntaxes are now all set (was difficult to have them work), and, in my case, it is set to AutoHotKey. However, I'd like to have Sublime always assume I'm writing a .txt file to be saved in the desktop by default (thus automatically appending the .txt extension) and do not apply the AHK syntax unless I save with the .ahk extension for the first time. Is it possible?
Nolan
 
Posts: 18
Joined: Fri May 17, 2013 5:20 am

Re: Default save location and default file extension

Postby djechlin on Mon Dec 02, 2013 4:00 am

bump

The default behavior assumes I never work on two projects, or that it is perfectly fine to randomly save files from one project into another. Furthermore, it's weird enough that I assume it works right until my file is missing when I try to add it to git. This is wrong and indefensible.
djechlin
 
Posts: 1
Joined: Mon Dec 02, 2013 3:58 am

Re: Default save location and default file extension

Postby skuroda on Tue Dec 03, 2013 2:44 am

You can use https://github.com/skuroda/Sublime-AdvancedNewFile to create your files. Don't know how well it'll fit your workflow, but you can define initial paths and a default extension.
skuroda
 
Posts: 674
Joined: Fri Oct 05, 2012 8:11 am

Re: Default save location and default file extension

Postby wasatchwizard on Sat Apr 05, 2014 6:04 pm

bump..
Is there any status or ideas about this.. it really is very frustrating..

updated:
I'll clarify that the most frustrating part is where the file is saved. And, searching doesn't seem to provide any ways/ideas on how to fix this..
wasatchwizard
 
Posts: 2
Joined: Thu Aug 01, 2013 5:45 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 14 guests

cron