Home Download Buy Blog Forum Support

My sublime text (Windows) cheat sheet

Re: My sublime text (Windows) cheat sheet

Postby howetechnical on Sun Aug 18, 2013 4:44 pm

Thanks for this! Really helps out those of us coming from other apps like Notepad++.
Posts: 3
Joined: Sat Aug 17, 2013 7:26 pm

Re: My sublime text (Windows) cheat sheet

Postby krish on Sat Aug 31, 2013 1:26 am

Thanks for this. New to Sublime and appreciate the list. One of the issues I hit was with multiple instances of sublime automatically reopening the same files in two different windows and concurrently editing it. So if I was not paying attention to the window I was in (I alt tab a bunch on windows), I ended up with coding errors. I managed to change the behavior and wanted to share the same as I did spend a bunch of time looking on the internet for this.

Goto preferences > settings - user (You will not be able to edit settings - default)

In the file, make sure all entries except the last one have a comma " , " at the end of the line. Then use the following two settings to affect the behavior.

// Exiting the application with hot_exit enabled will cause it to close
// immediately without prompting. Unsaved modifications and open files will
// be preserved and restored when next starting.
// Closing a window with an associated project will also close the window
// without prompting, preserving unsaved changes in the workspace file
// alongside the project.

"hot_exit": false,

// remember_open_files makes the application start up with the last set of
// open files. Changing this to false will have no effect if hot_exit is
// true

"remember_open_files": false
// Enjoy the annoying popup that shows up asking you to confirm saving the file when you exit. For me that's better than losing a few hours of work!
Posts: 1
Joined: Sat Aug 31, 2013 1:18 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 13 guests