This package provides:
This package consumes:
Made for Pulsar!
This package was written specifically for Pulsar and did not exist in the Atom package repository.
Python IDE features for Pulsar, powered by Jedi: completions, go-to-definition, find usages, project-wide rename, method override and argument snippets.
A rewrite of the original Atom autocomplete-python for Pulsar. The Kite
integration and its telemetry are gone, the CoffeeScript is now TypeScript, and
the Jedi backend targets the modern API. See CHANGELOG.md for
what changed and docs/MIGRATION.md if you are coming from
1.x.
Published as autocomplete-python-pulsar. The original
autocomplete-pythonname still points at the unmaintained Atom package.
python3 -m pip install --upgrade "jedi>=0.19"
The package tells you which interpreter it picked, and says so plainly if Jedi is missing from it.
ppm install autocomplete-python-pulsar
( and get a snippet of the
parameters, tab-navigable. Off by default; see Autocomplete Function Parameters.Ctrl+Alt+G (Alt+Cmd+G on macOS), or Ctrl/Cmd-click
with the hyperclick package
installed.super()-calling stub.Semantic Highlighting.F5, or click the button
again to stop. The pane takes stdin, so scripts that call input() work.Most of the time there is nothing to configure. The package looks for interpreters the way the VS Code Python extension does, in this order:
Python Executable Paths from the settingsVIRTUAL_ENV / CONDA_PREFIX: the environment Pulsar was launched from.venv, venv, env, or any
directory with a pyvenv.cfg).python-version), Conda, virtualenvwrapperPATHWhichever it picked is shown in the status bar. Click it to choose another, or run Autocomplete Python Pulsar: Show Environment to see the full list and the Jedi version in use.
Full details in docs/CONFIGURATION.md.
| Command | Default binding |
|---|---|
autocomplete-python-pulsar:run-file |
F5, Ctrl+Alt+R / Alt+Cmd+R |
autocomplete-python-pulsar:stop |
Shift+F5 |
autocomplete-python-pulsar:toggle-output |
none |
autocomplete-python-pulsar:toggle-semantic-highlighting |
none |
autocomplete-python-pulsar:go-to-definition |
Ctrl+Alt+G / Alt+Cmd+G |
autocomplete-python-pulsar:show-usages |
none |
autocomplete-python-pulsar:rename |
none |
autocomplete-python-pulsar:override-method |
none |
autocomplete-python-pulsar:complete-arguments |
none |
autocomplete-python-pulsar:select-interpreter |
none |
autocomplete-python-pulsar:show-environment |
none |
autocomplete-python-pulsar:restart-daemon |
none |
Start with Autocomplete Python Pulsar: Show Environment: it reports the interpreter and the Jedi version actually in use, which answers most reports. docs/TROUBLESHOOTING.md covers the rest.
CONTRIBUTING.md has the setup, and
docs/ARCHITECTURE.md explains how the pieces fit
together.
npm install # TypeScript toolchain
npm run build # src/*.ts -> dist/
npm test # typecheck + TypeScript tests + Python tests
If this saves you time, you can buy me a coffee.
Originally written by Dmitry Sadovnychyi and
contributors, as autocomplete-python for Atom. Completions come from
Jedi by David Halter.
GPL-3.0-or-later. See LICENSE.