Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Silverstripe Textmate Bundle


Reply

4 Posts   2470 Views

Avatar
Ingo

16 June 2008 at 9:25am (Last edited: 16 June 2008 9:26am), Forum Moderator, 801 Posts

For the most awesomest editor evar: http://macromates.com :)

Features:
- Code Highlighting for *.ss files
- Code folding for <% %> blocks
- Snippets for often used commands over tab-shortcuts (e.g. Debug::show() -> ds)
- Templates for new files (DataObject class, Page Class)
- Outlining for <% %> blocks
- Documentation lookup on selected word (ctrl+h) in api/doc.silverstripe.com
- Live function lookup in project folder (over shell grep commands)

Todo:
- Insertion of current filename in new file templates
- Code completion for popular classes
- Better code highlighting for *.ss files (dot-syntax)
- Tasks for running test suite and db/build
- Direct lookup on api.silverstripe.com (currently only keyword-search over google)

Have fun!

http://www.silverstripe.com/assets/downloads/PHP-Silverstripe.tmbundle.zip

Avatar
Willr

16 June 2008 at 9:31am Forum Moderator, 5511 Posts

Nice :)

Avatar
Ingo

16 June 2008 at 11:20am Forum Moderator, 801 Posts

I've created a wiki page for "tools" on http://doc.silverstripe.com/doku.php?id=tools
and imported the bundle into subversion for easy checkout+updates.

Avatar
Double-A-Ron

16 June 2008 at 1:39pm Community Member, 604 Posts

Kewl. Almost worth getting a Mac for.

Hmm, I wonder how hard it is to do the same in PHPEd from NuSphere. That IDE simply rules.