<commit_before>Coda Plugin Skeleton
--------------------

Coda Plugin Skeleton is a poorly named framework for writing Cocoa plugins for
[Coda][1] using Python.

The skeleton is essentially the gutted remains of Ian Beck's excellent
[TEA for Coda plugin][2]. It provides a PyObjC bridge to the Cocoa plugin API,
along with several convenience functions for dealing with text manipulation,
menu generation, etc.

   [1]: http://panic.com/coda/
   [2]: http://onecrayon.com/tea/coda/

Building from source
====================

In order to get anything useful out of Coda Plugin Skeleton, you will need to
download and build the source:

	git clone git://github.com/bobthecow/coda-plugin.git
	cd coda-plugin
	python setup.py py2app

If you wish to create a development version, you can run this instead:

	python setup.py py2app -A

This will create a normal version of your Coda plugin, but symlink all the
internal files so that you don't have to rebuild the plugin to try out
changes (you'll still need to relaunch Coda between changes, though).

Now go build something cool
===========================

 1. Edit `setup.py`, enter your sweet new plugin name and details.

 2. Rename `CodaPluginSkeleton.py` (and the class inside) to match your plugin
    name. Be sure to change CodaPluginSkeleton's plugin_name variable as well.

 3. Edit `src/Contents/Resources/English.lproj/PluginActions.plist` and add your
    actions.

 4. Add corresponding action scripts to `src/Support/Scripts`. If your plugin
    needs additional libraries, drop them in `src/Library` and they'll be
    automatically included.<commit_msg>Minor markdown changes to README.<commit_after>Coda Plugin Skeleton
--------------------

Coda Plugin Skeleton is a poorly named framework for writing Cocoa plugins for
[Coda][1] using Python.

The skeleton is essentially the gutted remains of Ian Beck's excellent
[TEA for Coda plugin][2]. It provides a PyObjC bridge to the Cocoa plugin API,
along with several convenience functions for dealing with text manipulation,
menu generation, etc.

   [1]: http://panic.com/coda/
   [2]: http://onecrayon.com/tea/coda/

Building from source
====================

In order to get anything useful out of Coda Plugin Skeleton, you will need to
download and build the source:

	git clone git://github.com/bobthecow/coda-plugin.git
	cd coda-plugin
	python setup.py py2app

If you wish to create a development version, you can run this instead:

	python setup.py py2app -A

This will create a normal version of your Coda plugin, but symlink all the
internal files so that you don't have to rebuild the plugin to try out
changes (you'll still need to relaunch Coda between changes, though).

Now go build something cool
===========================

 1. Edit `setup.py`, enter your sweet new plugin name and details.

 2. Rename `CodaPluginSkeleton.py` (and the class inside) to match your plugin
    name. Be sure to change `CodaPluginSkeleton`'s `plugin_name` variable as
    well.

 3. Edit `src/Contents/Resources/English.lproj/PluginActions.plist` and add your
    actions.

 4. Add corresponding action scripts to `src/Support/Scripts`. If your plugin
    needs additional libraries, drop them in `src/Library` and they'll be
    automatically included.
{'fraction_non_alphanumeric': 0.10202205882352941, 'fraction_numerical': 0.006127450980392157, 'mean_word_length': 3.93202416918429, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4390363', 'n_tokens_mistral': 945, 'n_tokens_neox': 875, 'n_words': 429}