Skip to main content

Plugins to Kate editor to develop faster python projects, django projects and something of javascript

Project description

Kate Plugins

Information

These are plugins to Kate editor. Plugins to make coding easier in Python, Django and JavaScript

Requeriments

Installation

easy_install Kate-plugins
cd ~/.kde/share/apps/kate/pate/
ln -s /PATH/OF/THE/EGG/kate_plugins/ .

or

cd ~/
git clone git://github.com/goinnn/Kate-plugins.git
cd ~/.kde/share/apps/kate/pate/
ln -s ~/Kate-plugins/kate_plugins/ .

Plugins

Autocomplete to python (python)

  • Shortcut: It is automatical

  • from and import instruction (beta)

  • autocomplete into the code (beta) with pysmell

  • There was a hook if you want to add your own packages python in the autocomplete structure. You should be create a file called “autocomplete_path.py” next to the “autocomplete.py” with a function “def path(doc, view)”, like this:

def path(doc, view):
    return ['/PATH/OF/THE/EGG1/name1.egg',
            '/PATH/OF/THE/EGG2/name2.egg',
            ...
            '/PATH/OF/THE/EGGN/namen.egg']

insert IPDB (python)

  • Shortcut: Ctrl+I

  • Insert the text “import ipdb; ipdb.set_trace()”

insert __init__ (python)

  • Shortcut: Ctrl+-

  • Smart insert a function __init__

insert super (python)

  • Shortcut: Alt+-

  • Smart insert a call to super of the function

template urls (django)

  • Shortcut: Ctrl+Alt+7

  • Smart template of the file urls.py

import views (django)

  • Shortcut: Ctrl+Alt+v

  • Insert the tipical imports in a view

Create form (django)

  • Shortcut: Ctrl+Alt+F

  • Template to form class

Create model (django)

  • Shortcut: Ctrl+Alt+M

  • Template to model class

jQuery ready (js)

  • Shortcut: Ctrl+J

  • Template jQuery ready

Pretty JSON (js)

  • Shortcut: Ctrl+Alt+J

  • Convert a horrible json in a pretty JSON :-)

Future Plugins

Other repositories of Plugins to Kate

0.0.3 (2012-02-02)

  • Fix some errors to autocomplete

  • Icons different to packages and modules

  • Usability in the autocomplete:

  • The popup that say “Syntax error” only show if the autocomplete is not manual

  • The python autocomplete, only works if the file ends with “.py”, “.pyc” or it is not saved

0.0.2 (2012-02-01)

  • Autocomplete to python (second version)

0.0.1 (2012-01-29)

  • Autocomplete to python (first version)

  • ipdb, init, super, urls, form, model, ready, json plugin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Kate-plugins-0.0.3.tar.gz (12.0 kB view details)

Uploaded Source

File details

Details for the file Kate-plugins-0.0.3.tar.gz.

File metadata

File hashes

Hashes for Kate-plugins-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e553f3fff15657a2cbdabaf55d2d3b3982ddc5ae867c9d81a8f9d199c0ed8cd3
MD5 153864b5c723a64d7059fea6c529961c
BLAKE2b-256 25732804be67730a97b386e960b380c18aa9aebf732d1732a3563b0734c36650

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page