22 Mar
Recently the Komodo (Edit) developers added a new feature to Komodo 5.1, that feature is abbreviations. The abbreviations feature allow you to quickly replace certain keywords with snippets of code by just pressing CTRL + T (or your key of preference). This can be extremely useful. I decided to create an abbreviation library for CodeIgniter.
Let’s say I type cicontroller and press CTRL + T, that will be replaced with:
1 2 3 4 5 6 7 8 9 10 11 12 | class MyController extends Controller { public function __construct() { parent::Controller(); } public function index() { } } |
MyController is highlighted by default for easy replacing.
Here is my current library. I’ll update it as I add more items.
22 Sep
At work I get files sometimes with hexadecimal entities but the problem is that we use numeric entities. I decided to write a simple script that will search the file for hex entities and convert them to numeric one. This is intended to be used with Komodo Edit or via the command line.