Home Download Buy Blog Forum Support

Layouts and others...

Re: Layouts and others...

Postby EJ12N on Wed Jun 10, 2009 2:06 pm

jps wrote:I can see a few options for how it could work, none of which would result is the user losing any work:

#1: Changing sessions is like changing profiles: sessions contain the complete state of the editor (open files and their modifications, as well as open windows and their positions), and changing session will close all open files and switch entirely to the new one. This would work behind the scenes just like 'File/Exit and preserve session': state, such as unsaved changes to open files, would be saved in the session.

#2: Sessions apply to a window at a time only. Opening a new session will open a new window with that session. It allows multiple sessions to be open at the same time, but perhaps doesn't make sense if you want one session to span multiple windows.

#3: Making sessions a bit 'softer': Opening a session closes all opened but un-modified files, while leaving modified files alone. Files that were open in the session are then opened. Window state, layout, find history etc aren't touched.

I think #3 is my favourite, but I'm not sure that any of the above are really satisfying.


I like #1, just like we have right now "exit and preserve session", so +1 for #1!

This little feature has saved me a couple times already, I love the fact it saves unsaved files!
Sometimes I am recompiling information or just doing budgeting or quick notes whatever, I am glad sublime saves unsaved buffers which are (unexpected) shutdown/reboot friendly :D
I feel safe using sublime text, I know my stuff is always going to be there! lol :D
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Layouts and others...

Postby gpfsmurf on Wed Jun 10, 2009 4:56 pm

I vote for #3, and the addition of a simple "Open session in new window" or something like that.
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: Layouts and others...

Postby EJ12N on Wed Jun 10, 2009 6:20 pm

sublimator wrote:EJ12N: Check out Steve's AutomaticBackups plugin if you haven't already. Really handy.

Yes I am aware of the plugin, very handy, but I just like the option to be able to have *unsaved* files "saved" in the session, without having an "individual file" saved on disk for that buffer.
(I know the thing is saved on disk in session files [Auto Save Session.sublime-session, Session.sublime-session]), but this is automagically saved for me.
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Layouts and others...

Postby jps on Wed Jun 10, 2009 10:48 pm

EJ12N wrote:This little feature has saved me a couple times already, I love the fact it saves unsaved files!


If I'm allowed to have favourite features, this would be one of them - I've got unsaved files with notes etc that I started editing months ago, and have yet to get around to explicitly saving them.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Layouts and others...

Postby EJ12N on Thu Jun 11, 2009 3:06 pm

sublimator wrote:EJ12N: Yeah, they are complementary. The auto backup saves a time stamped version of each save, kind of like an automatic commit for a rudimentary version control. Works quite well. Has ctrl+alt+[ or ] to rewind/fast forward through history.

Nice, I might give it a go very soon :D

jps wrote:If I'm allowed to have favourite features, this would be one of them - I've got unsaved files with notes etc that I started editing months ago, and have yet to get around to explicitly saving them.

Yup exactly my point! I got some unsaved files there too with phone numbers and quick notes that been sitting for months :D
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Layouts and others...

Postby tgkeul on Thu Jun 11, 2009 4:03 pm

Just an idea.

I would like to abondon the save command. Changes should always be saved immediatly without confirmation and the undo stack too.

Today, changes cannot be made undone after the file was saved and closed. On reopening all undo information is lost.
If the undo stack will be saved changes may then get undone when reopening the file.


Comming back to sessions, I vote for #1.
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: Layouts and others...

Postby jps on Sat Jun 13, 2009 12:21 pm

Yeah - there's something to be said for providing some sort of persistent undo stack, but I don't intend to change the way saving works, it's just too different to justify imo.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Layouts and others...

Postby kveldulv on Mon Dec 21, 2009 10:55 pm

Better project management (display project tree, add/delete/move operations, etc...)


+ 1 on this. Personally I'd be happy to just have a FILE BROWSER in a little tree thing on the side!!

Please Please please. Just copy what E Editor / ultraedit/editplus/ie most other editors do... It's simple, it works, gets the job done and 99% of your new users will understand it.

A pane on the side which you can move, dock, pin(?) and importantly CLOSE) is, IMO, more elegant than pressing ctrl+alt+shift+o to bring a box which is arguably just an imitation of this same functionality anyway.
kveldulv
 
Posts: 4
Joined: Mon Dec 21, 2009 6:36 pm

Previous

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests