[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use Org with Python as an IDE?

From: edgar
Subject: Re: How to use Org with Python as an IDE?
Date: Sun, 05 Sep 2021 01:03:12 +0000
User-agent: Horde Application Framework 5

I am very sorry for wasting your precious time. This was very simple

1. Install (some are optional) python-language-server jedi-language-server bash-language-server python-pylint python-pydocstyle ccls python-pyls-black
2. Clone
3. Add this to your .init.el or .emacs

(require 'package)

(defun load-eglot-company ()
  "Loads `eglot' and `company'"
(add-hook 'python-mode-hook 'load-eglot-company)

(use-package eglot
  :after prog-mode
  :load-path "~/.emacs.d/plugins/eglot"
  (add-hook 'c-mode-hook 'load-eglot-company)
  (add-hook 'c++-mode-hook 'load-eglot-company)
  (add-hook 'c-mode-common-hook 'load-eglot-company))

I can't believe that I can now be in the 21st century. Thanks to all the developers and the free software community! <p>Quoting <a href="";></a>:</p><blockquote type="cite" style="border-left:2px solid blue;margin-left:2px;padding-left:12px;">Is there a current way to have Python (not iPython, Jupyter, Anaconda, Conda...) IDE in Emacs?<br />
<br />
I sent the forwareded message to the Org (mode) list, because I am planning to use Org, but I am in a defeated state, and if I can get regular files with autocompletion, navigation and documentation, that would be great.<br />
<br />
Thanks!<br />
<br />
#+begin_src elisp<br />
 (org-version)<br />
#+end_src<br />
<br />
#+RESULTS:<br />
: 9.3.7<br />
<br />
#+begin_src elisp<br />
 (emacs-version)<br />
#+end_src<br />
<br />
#+RESULTS:<br />
: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4)<br />
:&nbsp; of 2021-03-26<br />
<br />
| python-jedi&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0.18.0-2 |<br />
| emacs-ctable&nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; 0.1.2-3 |<br />
| emacs-deferred&nbsp; &nbsp; &nbsp; |&nbsp; 0.5.1-2 |<br />
| emacs-epc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; 0.1.1-4 |<br />
| python-epc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; 0.0.5-3 |<br />
| python-black&nbsp; &nbsp; &nbsp; &nbsp; | 21.7b0-1 || python-flake8-black |&nbsp; 0.2.2-1 |</blockquote><br /><br />

This free account was provided by - report spam to

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]