Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom IDE autocomplete-python not working

I have just installed the Atom IDE and the package autocomplete-python (on Windows). But the package is not working. Do I have to make any setting changes? (I have disabled autocomplete-plus and autocomplete-snippets).

Do I need to separately install Jedi?

like image 791
debashish Avatar asked Jun 17 '17 08:06

debashish


People also ask

Why is autocomplete not working in Atom?

Completions Being Inserted Automatically If you are experiencing issues with Atom automatically inserting text into your buffer for you, open Atom's package manager and search for the autocomplete-plus package. Open its settings and ensure that the "Automatically Confirm Single Suggestion" checkbox is unchecked.

How do I enable autocomplete in Atom?

If you want more options, in the Settings panel for the autocomplete-plus package you can toggle a setting to make autocomplete-plus look for text in all your open buffers rather than just the current file. The Autocomplete functionality is implemented in the autocomplete-plus package.

Does Atom have autocomplete for Python?

Python packages, variables, methods and functions with their arguments autocompletion in Atom powered by your choice of Jedi or Kite.

How do I create an autocomplete Atom in Python?

In all new Atom editor go to File->Settings->install search for autocomplete-python and click on install. Voila its done, restart Atom is not required and you will see the difference with next time you edit python code. Save this answer. Show activity on this post.


1 Answers

If autocomplete-python in Atom not working with Python 3.7 In windows, go to:

C:\Users\username\.atom\packages\autocomplete-python\lib\jedi\parser

Or in linux:

cd ~/.atom/packages/autocomplete-python/lib/jedi/parser

Duplicate file named "grammar3.6.txt" and change it to "grammar3.7.txt"

It's worked for me with python 3.7!

like image 86
huyxdong Avatar answered Sep 22 '22 11:09

huyxdong