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
Extra dependencies for extra and super nice features. Optional, but very recomended :)
easy_install pysmell==0.7.3 easy_install pep8==0.6.1 easy_install pyflakes==0.5.0 easy_install pyjslint==0.3.3
Install the plugins:
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 (python)
Shortcut: It is automatical
from and import instruction
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/PACKAGE/', ... '/PATH/OF/THE/EGGN/namen.egg']
Parse syntax (python)
Shortcut: Ctrl+6 or when you save the file
Pase syntax this file and show a error list, or a dialog say “OK”
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
PEP8 (python)
Shortcut: Alt+8
Use PEP8 to look for ugly code, highlights lines with problems
It uses pep8 so it must be present in the system
PyFlakes (python)
Shortcut: Alt+7
Use PyFlakes to look for bad code, highlights lines with problems
It uses pyflakes so it must be present in the system
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
Autocomplete static to javascript (js)
Shortcut: It is automatical
This is a first version
jQuery ready (js)
Shortcut: Ctrl+J
Template jQuery ready
Pretty JSON (js)
Shortcut: Ctrl+Alt+J
Convert a horrible json in a pretty JSON :-)
JSLint (js)
Shortcut: Alt+J
Use JSLint to look for errors and bad code, highlights lines with problems
It uses pyjslint so it must be present in the system (and working!)
Future Plugins
Call recursive
Other repositories of Plugins to Kate
0.0.7 (2012-03-??)
…
0.0.6 (2012-03-02)
Python parse syntax plugin
PEP8 checker plugin
PyFlakes checker plugin
JSLint checker plugin
0.0.5 (2012-02-28)
Cleaning code
Fix little error in preatty JSON. The quotes should be “ instead of ‘
Fix some other error
Refactored autocomplete plugin to python
Created a pyplete, a generic module to autocompletion in python
Fix a in the code to detect the class has a error (insert init plugin, insert super plugin)
0.0.4 (2012-02-20)
Fix a error in autocomplete, if the line contains “and” or “or”
Improvement in the performance in the python autocompletation
Abstraction of Autocomplete. Create a Abstract class
Create a AbstractJSONFileCodeCompletionModel. Only autocompletion creating a json file
Create a static autocompletation to javascript
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Kate-plugins-0.0.6.tar.gz
.
File metadata
- Download URL: Kate-plugins-0.0.6.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d0d74e60c1af74712bbc5d0a98f1d295c36e7361039095855b46433cc9842ed |
|
MD5 | 9267bf27609217a48b1c366399c49b7b |
|
BLAKE2b-256 | 5c98bc78785da01458f05631ebb0567d19f4a12caff687ed63d912062f7fdb57 |