Reader small image

You're reading from  Mastering Sublime Text

Product typeBook
Published inDec 2013
PublisherPackt
ISBN-139781849698429
Edition1st Edition
Right arrow
Author (1)
Dan Peleg
Dan Peleg
author image
Dan Peleg

Dan Peleg is an accomplished software engineer. As a former developer in the Israeli Intelligence Force, he holds extensive experience in both defense and robotic industries, and has previously lectured at DefCon conventions. Dan has developed unique algorithms for robotic platforms, specializes in a variety of software platforms, and currently works as the CTO for an American startup company.
Read more about Dan Peleg

Right arrow

Warming up before starting a plugin


We have seen that plugins can be very helpful in many situations, so it's time for us to develop our own! Before starting, we need to know a few things; the first is an idea for a plugin. In our case, we will develop a Ruby on Rails plugin that will help us identify relationships between ActiveRecord models. ActiveRecord models can define relationships with other ActiveRecord models that are defined across different files, creating a plugin that will automatically open all the related files. This plugin can be very helpful for a Rails developer.

It is also important to have the Sublime Text API open simultaneously. It can be found at http://www.sublimetext.com/docs/3/api_reference.html. Lets not forget a name for our plugin! In our case, we will call the plugin RelationsFinder. The Default Packages folder is full of useful open source plugins with code snippets and examples.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Sublime Text
Published in: Dec 2013Publisher: PacktISBN-13: 9781849698429

Author (1)

author image
Dan Peleg

Dan Peleg is an accomplished software engineer. As a former developer in the Israeli Intelligence Force, he holds extensive experience in both defense and robotic industries, and has previously lectured at DefCon conventions. Dan has developed unique algorithms for robotic platforms, specializes in a variety of software platforms, and currently works as the CTO for an American startup company.
Read more about Dan Peleg