textwrangler: how can I run without opening files?

3

1

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?

Jason S

Posted 2011-01-30T22:47:28.867

Reputation: 5 983

Answers

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.

Daniel Beck

Posted 2011-01-30T22:47:28.867

Reputation: 98 421

It looks like it was com.barebones.textwrangler.PreferenceData/Saved Application State.appstate – Jason S – 2011-01-30T23:18:02.137

6

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

Bare Bones Software Tech Suppo

Posted 2011-01-30T22:47:28.867

Reputation: 61

This still works as of Dec 31, 2014 in BBEdit 11.0.2. Great tip. – eddieroger – 2014-12-31T20:54:04.783

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

Satish

Posted 2011-01-30T22:47:28.867

Reputation: 21

-1

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

speeds images

Posted 2011-01-30T22:47:28.867

Reputation: 486

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 – 2011-01-31T15:36:39.400

What did work then? I was merely addressing the question asked "Is there a way to run it without opening any files?" – speeds images – 2011-02-01T16:12:39.303

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 – 2011-02-02T13:13:25.697