Hello, I mainly use PHP and Perl Languages, so I deselected all the others. For some reason, I had 4 bundles in the PHP folder: 2 HTML(php) and 2 PHP. I deleted the 2 I figured less useful, and I realized I lost smart typing. I deleted the application, the folder in the Library with all the bundles, downloaded again the app and made a svn checkout. Still it doesn't work. In the Languages window, I have some () [] directives under Preferences, though.
thank you for help max
On 23/10/2005, at 16.26, Max wrote:
I mainly use PHP and Perl Languages, so I deselected all the others. For some reason, I had 4 bundles in the PHP folder: 2 HTML (php) and 2 PHP. I deleted the 2 I figured less useful, and I realized I lost smart typing. I deleted the application, the folder in the Library with all the bundles, downloaded again the app and made a svn checkout. Still it doesn't work.
Quit TextMate, from Terminal run: defaults read com.macromates.textmate OakBundleManagerDeletedBundles
It stores the list of which default bundles you have deleted there, so to recover these, you'll need to remove that (array).
If you're mainly using PHP and Perl, you don't need a svn checkout (and I don't recommend it, the application works fine w/o the checkout, so the checkout is just adding another source of potential problems).
If you edited default bundles, the changes are in ~/Library/ Application Support/TextMate/Bundles (so to really reset to defaults, you'll need to remove these as well — not sure if that's the one you referred to with the bundles folder in library).
Quit TextMate, from Terminal run: defaults read com.macromates.textmate OakBundleManagerDeletedBundles
Sorry I'm having a little problem doing what you suggest... With 'read' the command returns 'the domain/default pair of (com.macromates.textmate OakBundleManagerDeletedBundles) does not exist With 'delete' instead it returns no result.
It stores the list of which default bundles you have deleted there, so to recover these, you'll need to remove that (array).
By 'It' you mean... ? What does the 'defaults' command do? ...
If you're mainly using PHP and Perl, you don't need a svn checkout (and I don't recommend it, the application works fine w/o the checkout, so the checkout is just adding another source of potential problems).
I thought a svn checkout was for adding all Languages, because 'off the shelf' Textmate had none. If I've got it, the svn checkout adds new languages to the default package, which is within the main application folder, right?
If you edited default bundles, the changes are in ~/Library/ Application Support/TextMate/Bundles (so to really reset to defaults, you'll need to remove these as well — not sure if that's the one you referred to with the bundles folder in library).
I have no TextMate folder under ~/Library...
thanks m.
On 23/10/2005, at 17.26, Max wrote:
Quit TextMate, from Terminal run: defaults read com.macromates.textmate OakBundleManagerDeletedBundles
Sorry I'm having a little problem doing what you suggest... With 'read' the command returns 'the domain/default pair of (com.macromates.textmate OakBundleManagerDeletedBundles) does not exist With 'delete' instead it returns no result.
Okay, then the setting is not there (which is what we want).
It stores the list of which default bundles you have deleted there, so to recover these, you'll need to remove that (array).
By 'It' you mean... ?
TextMate
What does the 'defaults' command do? ...
Read/write application settings, generally stored in ~/Library/ Preferences
If you're mainly using PHP and Perl, you don't need a svn checkout (and I don't recommend it, the application works fine w/o the checkout, so the checkout is just adding another source of potential problems).
I thought a svn checkout was for adding all Languages, because 'off the shelf' Textmate had none.
It is for adding languages which is not there by default, yes. But default there are two dozen languages, includng PHP, and Perl.
If I've got it, the svn checkout adds new languages to the default package, which is within the main application folder, right?
The default bundles are in TextMate.app/Contents/SharedSupport (and TextMate likely to be in your /Applications folder)
The svn checkout can be done to any of the library locations.
If you edited default bundles, the changes are in ~/Library/ Application Support/TextMate/Bundles (so to really reset to defaults, you'll need to remove these as well — not sure if that's the one you referred to with the bundles folder in library).
I have no TextMate folder under ~/Library...
Okay — try to go to the bundle editor and click the “More Bundles…” do you see the bundles there?
Some languages inherit smart typing from the Source bundle, so this should be enabled.