Skip to content

MichaelAquilina/autocomplete-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Autocomplete Package Build Status

Python variables, methods, functions and modules autocompletions in Atom.

This is powered by Jedi.

Demo

Features

  • Works on all platforms: 🍎 Mac OS, 🐧 Linux and 🏁 Windows
  • Works with both 🐍 Python 2 and 3
  • Watches whole package of the file you're currently editing
  • Configurable additional PATHs to include for completions (global for now)
  • You can include project specific folders by using $PROJECT variable in PATH configuration
  • Highlights UPPERCASE_VARIABLES as constants according to PEP8
  • Highlights builtin functions and variables with special style
  • Prints first N characters of statement value while completing variables
  • Prints function arguments while completing functions
  • Additional caching so the same request will not be handled twice

Installation

  • Be sure to use Atom 0.199 or newer.
  • Install autocomplete-python.
  • If you're on Windows:
    • Install python.
    • Make Sure that python is available in your PATH: echo %PATH%. If it's not, add it and restart your system: set PATH=%PATH%;C:\Python27.

Common problems

  • "Error: spawn UNKNOWN" on Windows.
    • Solution: Find your python executable and uncheck the "Run this program as an administrator". See issue #22.

Inspired by autocomplete-plus-python-jedi.

About

Jedi based Python autocomplete for Atom

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.0%
  • CoffeeScript 2.0%