4

TextWrangler has always worked great, but now it's hanging everytime I open it.

I suspect one of the files it's trying to open causes a problem.

Is there a way to run it without opening any files?

4 Answers 4

4

Your TextWrangler preferences are stored in ~/Library/Preferences/ in:

  • the file com.barebones.textwrangler.plist
  • the files in the directory com.barebones.textwrangler.PreferenceData

I don't know which of the files contains the open documents. Move the files/folder to your desktop and try starting it, then put them back one after another to find the source of your problem.

1
  • It looks like it was com.barebones.textwrangler.PreferenceData/Saved Application State.appstate
    – Jason S
    Jan 30, 2011 at 23:18
7

You can press and hold the Shift key while launching TextWrangler to suppress all normal startup actions, including reopening files.

1
  • 1
    This still works as of Dec 31, 2014 in BBEdit 11.0.2. Great tip.
    – eddieroger
    Dec 31, 2014 at 20:54
2

mv ~/Library/TextWrangler/Saved Application State-023BCD4D-6979-5237-893B-7DE068E1516A.appstate Saved Application State-023BCD4D-6979-5237-893B-7DE068E1516A.appstate_bkp

This resolved issue for me.

Note that the state id will be different in your m/c

-1

Go to TextWrangler > Preferences > Application and uncheck the box that says "Reopen documents that were open last quit"enter image description here

3
  • 1
    Sorry, this wouldn't have worked: I couldn't do anything in TextWrangler at all -- it hung immediately upon opening. Also I want it to reopen documents that were open at last quit.
    – Jason S
    Jan 31, 2011 at 15:36
  • What did work then? I was merely addressing the question asked "Is there a way to run it without opening any files?" Feb 1, 2011 at 16:12
  • Deleting the preference file responsible for restoring documents on opening worked. @Jason's problem was he couldn't open the editor because of this, so there was no way to get into its preferences dialog.
    – Daniel Beck
    Feb 2, 2011 at 13:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .