<commit_before>SublimeJEDI
============

[SublimeJEDI](https://github.com/svaiter/SublimeJEDI) is a [Sublime Text 2](http://www.sublimetext.com/) plugin
to the awesome autocomplete library [Jedi](https://github.com/davidhalter/jedi)

**The plugin has not full functional yet !**
Join the effort to bring Jedi to Sublime (see jedi-vim).

Installation
------------

    cd ~/.config/sublime-text-2/Packages/
    git clone https://github.com/svaiter/SublimeJEDI.git
    cd SublimeJEDI
    git submodule init
    git submodule update

Settings
--------

#### Python interpreter settings

By default **SublimeJEDI** will use default Python interpreter from the `PATH`.
Also you can set different interpreter for each Sublime Project.

To set project related Python interpreter you have to edit yours project config file.
By default project config name is `<project name>.sublime-project`

You can set Python interpreter in this way...

    # <project name>.sublime-project`
    {
        // ...

        "settings": {
            // ...
            "python_interpreter_path": "/home/sr/.virtualenvs/django1.5/bin/python"
        }
    }

#### Autocomplete on DOT

    "auto_complete_on_dot": true

#### Jedi Goto/ Go Definition

Find function / variable / class definition
Shortcuts: `CTRL+B` or `CTRL + LeftMouseButton`


TODO
----

 - add Jedi "Related Names"
 - reduce PYTHONPATH getting overhead<commit_msg>fix auto complete on dot settings<commit_after>SublimeJEDI
============

[SublimeJEDI](https://github.com/svaiter/SublimeJEDI) is a [Sublime Text 2](http://www.sublimetext.com/) plugin
to the awesome autocomplete library [Jedi](https://github.com/davidhalter/jedi)

**The plugin has not full functional yet !**
Join the effort to bring Jedi to Sublime (see jedi-vim).

Installation
------------

    cd ~/.config/sublime-text-2/Packages/
    git clone https://github.com/svaiter/SublimeJEDI.git
    cd SublimeJEDI
    git submodule init
    git submodule update

Settings
--------

#### Python interpreter settings

By default **SublimeJEDI** will use default Python interpreter from the `PATH`.
Also you can set different interpreter for each Sublime Project.

To set project related Python interpreter you have to edit yours project config file.
By default project config name is `<project name>.sublime-project`

You can set Python interpreter in this way...

    # <project name>.sublime-project
    {
        // ...

        "settings": {
            // ...
            "python_interpreter_path": "/home/sr/.virtualenvs/django1.5/bin/python"
        }
    }

#### Autocomplete on DOT

By default it's turned on

    # sublime_jedi.sublime-settings
    {
        // ...
        "auto_complete_on_dot": true
    }

#### Jedi Goto/ Go Definition

Find function / variable / class definition
Shortcuts: `CTRL+B` or `CTRL + LeftMouseButton`


TODO
----

 - add Jedi "Related Names"
 - reduce PYTHONPATH getting overhead
{'fraction_non_alphanumeric': 0.12376068376068376, 'fraction_numerical': 0.002735042735042735, 'mean_word_length': 2.959404600811908, 'pattern_counts': {'":': 6, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '274654', 'n_tokens_mistral': 925, 'n_tokens_neox': 880, 'n_words': 276}