Skip to content

Instantly share code, notes, and snippets.

@crazybugliu
Created November 11, 2015 10:59
Show Gist options
  • Save crazybugliu/c036d6e1af3b81884ca1 to your computer and use it in GitHub Desktop.
Save crazybugliu/c036d6e1af3b81884ca1 to your computer and use it in GitHub Desktop.
Created by Miu https://miu.0x142857.com

Package Control Messages

Anaconda

Anaconda

Anaconda turns your Sublime Text 3 into a full featured Python IDE. Read the plugin documentation on http://damnwidget.github.io/anaconda.

Book Status

Getting Started

Anaconda works out of the box but there are multitude of options and features that you can tune and adapt to your own style or needs.

  • Autocompletion on dot

  • Powerful IDE

  • Advanced Configuration

  • Run Tests using Anaconda

  • Linting theme customization

  • Using Vagrant Environments

    License

    This program is distributed under the terms of the GNU GPL v3. See the LICENSE file for more details.

    Tooltips

    anaconda officially supports user themeable tooltips and displaying advanced signatures. This is how it looks in a dark theme:

    Tooltips Image

    Note: This feature is enabled for users of Sublime Text 3 build 3070 or superior only.

    Troubleshooting

    This section lists some common issues faced by users, along with workarounds.

    Anaconda does not appear in the Available Packages list on Package Control.

    Work-around: You have to update your Package Control version to the version 2.0 or better.

    Errors in the console about "the file can't be open" in worker.py file.

    Your Sublime Text can't find the interpreter that you set in your configuration, by default, anaconda sets this as python so it will get your configured Python interpreter in your PATH (if any).

    Work-around: Add a Python interpreter (named python) to your PATH or set a right full path to your python interpreter as parameter of python_interpreter settings option, for example /usr/local/bin/python3.4.

    Auto-complete for import behaves badly.

    Sublime Text 3's default Python package cancels the auto-completion when some words are detected (for example def or class). This list of words includes import.

    Work-around: Create a new Python directory in your Packages directory and copy the contents of the file Completion Rules.tmPreferences there with the same name. Delete your Sublime Text Cache file Cache/Python/Completion Rules.tmPreferences.cache.

    NOTE: The cache path can be optained from the Sublime TExt 3 console using the code sublime.cache_path()

    Auto-complete drop-down shows up incorrectly.

    SublimeCodeIntel interferes with anaconda's auto-completion.

    Work-around: Consider disabling SublimeCodeIntel for Python views or disabling/removing it completely when using anaconda.

    Contributing to Anaconda

    There are several ways to contribute with anaconda.

    Note: A Developers Documentation book is maintained up to date with the latest information about anaconda's internals and useful information about how to contribute to the project.

Feedback

Giving feedback about the plugin and how it works in your platform, helps make the plugin better.

### Bug Hunting

Did you found a bug and you know how to fix it? First of all, Thank you very much. You just have to report the bug as a new issue, fork the repository, make your changes and send a new pull request.

### Suggesting and Implementing Features

So you thought of a new killer feature to implement in Anaconda? Great! Open an issue for it and and we will discuss it with you.

### Donations

Please donate to help keep this project alive.

[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KP7PAHR962UGG&lc=US¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)

Flatter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment