GithubHelp home page GithubHelp logo

zeusbasepython / coda-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bobthecow/coda-plugin

0.0 1.0 1.0 152 KB

Coda2 Plugin Developer Framework for plugins built with Python

Python 82.03% Objective-C 17.97%

coda-plugin's Introduction

Coda Plugin Skeleton

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

It provides a PyObjC bridge to the Cocoa plugin API, along with several convenience functions for dealing with text manipulation, menu generation, etc.

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 github.com/ZeusbasePython/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).

Build Instructions

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

  2. Open CodaPlugin.py and rename the class inside. Because Coda doesn't run plugins in a sandbox, this class name can't be the same as any other plugin. Be sure to change the plugin_name member variable while you're in there.

  3. Edit src/Contents/Resources/English.lproj/PluginActions.plist to 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.

coda-plugin's People

Contributors

bobthecow avatar hyokosdeveloper avatar onecrayon avatar sergeche avatar

Watchers

 avatar

Forkers

hyokosdeveloper

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.