Elpy
editorconfig-emacs
Our great sponsors
Elpy | editorconfig-emacs | |
---|---|---|
11 | 6 | |
1,879 | 725 | |
- | 0.7% | |
6.0 | 6.2 | |
4 months ago | 26 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Elpy
-
Issues with setting up elpy
If you want to stick with Elpy, I'd suggest side-stepping the RealPython tutorial and diving in to Elpy's documentation directly. But keep in mind that the project has been looking for a new maintainer since March of 2021.
- Eglot has landed on master: Emacs now has a built-in LSP client
-
Fold docstrings on python files?
Elpy allows to do that with its folding module.
-
Performant alternative to pyright?
you can use elpy for that its not lsp but it might be faster than pyright.
-
What is your setup for python coding in emacs?
The last commit in https://github.com/jorgenschaefer/elpy master was 16 days ago, so it seems yes.
-
What IDE do you use to code Python?
And I'm using Elpy on Emacs. It works like a charm, which provides (quote from it README): - Code completion - Code Navigation - Interactive evaluation and interactive Python shell - On-the-fly syntax checking - Access to documentation
-
doom emacs python ctrl-c ctrl-c does not open a new buffer
This is one of the (minor) reasons I abandoned anaconda-mode (default for Doom) for elpy. You can do the same with this snippet in your packages.el lisp (package! anaconda-mode :ignore t) (package! elpy :recipe (:host github :repo "jorgenschaefer/elpy") :pin "2203597") ;; Commit date 2021/3/28 Anaconda is lightweight by comparison. Elpy is also a python package that needs to be installed. Read their docs before using. https://github.com/jorgenschaefer/elpy
-
Elpy is looking for a maintainer
I (current maintainer of Elpy) am not able to properly maintain the project anymore.
- Concatenate webpages
-
What is your workflow to read opensource software in emacs?
For python development, I use https://github.com/jorgenschaefer/elpy (Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines and configures a number of other packages, both written in Emacs Lisp as well as Python.)
editorconfig-emacs
-
How Do I Make Emacs Have IDE-Like Indentation On The Fly?
I might be misunderstanding, but would something like EditorConfig help? I have found it does a really good job of configuring indentation behavior for projects that use EditorConfig.
-
Emacs 29 is nigh What can we expect?
For #2, I've been pretty happy with dtrt-indent (https://github.com/jscheid/dtrt-indent) for DWIM indentation bouncing between projects.
I have yet to try apheleia, but I wouldn't be surprised if just enabling apheleia, dtrt-indent, and editorconfig-mode (https://github.com/editorconfig/editorconfig-emacs) in prog-mode-hook just did what you wanted.
-
Eglot has landed on master: Emacs now has a built-in LSP client
> My only complaint is that I can never get Emacs's indentation to match what Prettier wants to do, so I'll type a bunch of code, prettier-on-save, and everything gets moved around.
I had this same issue, and it was annoying enough I continued to use https://github.com/editorconfig/editorconfig-emacs alongside prettier.
This does create another annoyance in having to configure editorconfig for new projects instead of relying on prettier alone.
-
How to Change Autoindent from 2 to 4
Please take a look at Editor Config. It makes handling indentation specifics easy, here a link to the Emacs package.
-
Is there a package or command out there that can add a newline at the end of the file if it doesn't exist?
I am using https://github.com/editorconfig/editorconfig-emacs
-
Editorconfig and tabs/spaces
According to the repo you should only need to enable (editorconfig-mode 1) in the init, but there's also a troubleshooting section that might help out for your specific situation. Hope that helps!
What are some alternatives?
Suplemon - :lemon: Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
anakin-language-server - Yet another Jedi Python language server
projectile - Project Interaction Library for Emacs
buffer-env - Buffer-local process environments for Emacs
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
emacs.d - Fast and robust Emacs setup.
doomemacs - An Emacs framework for the stubborn martian hacker
anaconda-mode - Code navigation, documentation lookup and completion for Python.
neovim - Vim-fork focused on extensibility and usability
GNU/Emacs go-mode - Emacs mode for the Go programming language
prettier-rc-emacs - MELPA package to use local rc rules with prettier