CMI Web Studio Blog

Sublime Text – Love at first auto complete

February 14th, 2013 0 Comments

Look at your editor. Now back at mine. Now back at yours. Now back to mine. Sadly your editor is not like mine. But if you stopped using noob-scented editor, and switched to Sublime Text 2, your editor could look like mine.

Seriously, although Eclipse is a great development editor, if you’re looking for a lightweight, easy to use, the most comprehensive simple editor, look no further than Sublime Text 2 (3 currently in beta).

You can download Sublime Text 2 Here!

You’re Welcome!

Improve Your Eclipse Performance

January 28th, 2013 0 Comments

Eclipse – Performance Improvement

1. Disable validators and startup option
– For validations: on eclipse menu Windows -> Preferences -> Validation, select only validation you need.
– For startup action: on eclipse menu Windows -> Preferences -> General -> Startup, and uncheck the options you don’t need.

2. Modify eclipse.ini
-vmargs
-server
-Dosgi.requiredJavaVersion=1.5
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:+UseParallelGC

3. Turn off spelling check
– You can switch off the plug-in by going to Window -> Preferences -> General -> Editors -> Text Editors -> Spelling, and unchecking the box title ‘Enable spell checking’.

Add PHPUnit to MAMP 2.x, including PHP 5.4.4 for OSX 10.8

December 3rd, 2012 0 Comments

delete: /Applications/MAMP/bin/php/php5.4.4/conf/pear.conf
(delete or bak)

$ /Applications/MAMP/bin/php/php5.4.4/bin/pear channel-update pear.php.net
$ /Applications/MAMP/bin/php/php5.4.4/bin/pear upgrade pear
$ /Applications/MAMP/bin/php/php5.4.4/bin/pear channel-discover pear.phpunit.de
$ /Applications/MAMP/bin/php/php5.4.4/bin/pear channel-discover pear.symfony-project.com
$ /Applications/MAMP/bin/php/php5.4.4/bin/pear install phpunit/PHPUnit

make available in terminal:
$ mv /Applications/MAMP/bin/php/php5.4.4/bin/phpunit /usr/local/bin/phpunit

test:
type phpunit –version in Terminal
(you will see latest version of PHPUnit).

Note, if you need an older version of PHPUnit, like 3.6.x, you will indicate that when installing phpunit/PHPUnit-3.6.12