Archive for April, 2006

.ds_store no more (on network shares at least!)

April 26, 2006

Nothing exciting (for most people) but I’ve just finally found an easy way to stop creating the useless .ds_store files on non-mac network shares so I’m putting the info here for my posterity.

http://docs.info.apple.com/article.html?artnum=301711

1. Open the Terminal.
2. Type:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

3. Press Return.
4. Restart the computer.

As found on www.textsnippets.com (which also may come in handy in the future)

[composed and posted with ecto]

Technorati Tags: ,

Easier editing of TypoScript

April 8, 2006

UPDATE: August 2008

I’ve moved my blog to http://www.elaptics.co.uk and the TYPO3 bundle is now in the Macromates Subversion repository.  You can find more information here http://www.elaptics.co.uk/projects/

I’ve recently discovered TextMate from www.macromates.com – a superb text editor, previously I’ve been using TextWrangler but I’m slowly using TextMate more and more, one of it’s really great features is it’s expandability through the use of bundles.

In getting to grips with the bundle editor I decided to put together a bundle for editing TypoScript so that it has syntax highlighting plus I’ve added some of the more common TypoScript objects as snippets to make it much quicker to put your typoscript together. I’ve put a link to the TSRef doc online as well as ensuring the comment toggle puts the right comment symbol in.

Not sure how it measures up as a first attempt but drop me a line if you find it useful or would like to see some other things added to it, likewise if you add any more features why not send them to me so I can include them here. If enough people are finding it useful then we can also consider getting the bundle added to the main repository at macromates.

You can download the bundle here.

I’ve added the following scope selectors to the language grammars which you’ll almost certainly want to add to your theme to have the syntax highlighted. (Whether these are the best scopes to use I don’t know but feel free to suggest others).

entity.other.tsobject
entity.other.tsconstant
entity.other.tsvalue
entity.other.tscopy

Technorati Tags: ,