Python-mode
Rope
Our great sponsors
Python-mode | Rope | |
---|---|---|
10 | 22 | |
5,437 | 1,836 | |
0.0% | 1.5% | |
5.0 | 9.3 | |
7 months ago | 21 days ago | |
Vim Script | Python | |
GNU Lesser General Public License v3.0 only | GNU Lesser 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.
Python-mode
-
NVIM: More complete autocomplete
As for the Vim auto complete plug-in to use. The biggest (and rather quite bloated provider) are coc and youcompleteme. Vim had countless other completion provider plugins over the years, I lost track of which ones are still good to use and which ones should already be superseded by better techs, but one I personally use python-mode, which uses rope and vim-lsp which supports pylsp.
-
Vim - How to Maintain Shell Output?
python-mode plugin works well as an IDE-like solution: https://github.com/python-mode/python-mode
-
Moved from IDE to Terminal + VIM. Need tips for managing it correctly.
If you're happy with a plugin, pymode (https://github.com/python-mode/python-mode) is worth a look. Map running to r (or whatever works for you) makes running easy. End result is IDE-like.
-
IDE Similar to PyCharm for Work
If you want a quick start to building Vim based IDE for Python, I recommend python-mode. It gives you most of the things you're going to need in one plugin, there are often better implementations of some of its features in other more specialised plugins, but if you don't have time to research and learn to integrate a lot of different plugins, it's a great base to start from. Over time as you learn how you prefer to work and found specialised plugins that suits your workflow better, you can disable many of its features and replace them with more specialised plugins.
-
Python Devs who Use Vim, Share Your Expertise!
I also highly recommend python-mode for Python refactoring using python-rope. It supports variable/function/class renaming, extract method/local variable, variable/method inlining, adding/removing/rearranging parameters from method signature, removing unused and duplicate imports, and many other useful code transformations.
-
My problem with vim
However, adding all these things by hand takes time. I only know python so that's what im using vim for, and i tried out pymode, but that's way too many features introduced at once. For this reason I've also avoided using others configurations.
-
Folding annoyance
Eg for python (there are several others) https://github.com/python-mode/python-mode
-
Use Vim as a Python IDE
There is a plugin called python-mode. This adds syntax highlighting and many other features to your vim.
- Vim with Python
-
How to use python (no IDE)?
Update that tool to work with Python. For example, Python-Mode.
Rope
-
In neovim ,how to do refactoring python code?
Hi, maintainer of rope here. There are a number of different options to use rope in Vim/Neovim, we've documented them in this page https://github.com/python-rope/rope/wiki/Rope-in-Vim-or-Neovim
-
Open Source Python libraries/projects that need contributions?
If you're looking for something with a bigger codebase, then the rope library in which pylsp-rope is based on is also welcoming of contributions.
-
Completion and auto imports
I think rope is the standard for refactoring, and should provide autoimports soon, though pyright might also be good for that.
-
NVIM: More complete autocomplete
rope
-
Making Python Code Idiomatic by Automatic Refactoring Non-Idiomatic Python Code with Pythonic Idioms
If you are interested in discussing this or have ideas you want to sketch out, meet me at rope's GitHub Discussion.
-
What motivates you writing open source software?
However, my biggest and most popular open source project is one that I don't originally write, but rather I inherited a popular project that has been abandoned by their original author/maintainers. I use Python a lot, so I wanted to contribute to the community in a significant way, so unlike my other projects I do take the time promoting this project as well. I felt it's more like a community service for this project.
-
What are some interesting open source projects to contribute code to?
I am the maintainer rope and pylsp-rope. They are libraries for automated Python refactoring and to do that from any LSP-capable editors. We are always welcoming contributors of all levels.
-
Why IDEs are Important
Rope has first class support for Vim and it can do a move refactoring, among other refactorings. From this, this feature is available from python-mode and ropevim.
-
Visual Studio Code is designed to fracture
rope
-
Why did you switch from another language to Rust? Do you regret not learning it earlier?
Okay this depends: if your code is static: perfectly possible for example with https://github.com/python-rope/rope (used for example by VS Code). If it's dynamic / generated via metaprogramming: I never tried it but I can't imagine that it'd work there, yes. However java tooling also can't do that because it simply doesn't support metaprogramming in any noteworthy way.
What are some alternatives?
Jedi-vim - Using the jedi autocompletion library for VIM.
Bowler - Safe code refactoring for modern Python.
YouCompleteMe - A code-completion engine for Vim
RedBaron - Bottom-up approach to refactoring in python
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
jedi - Awesome autocompletion, static analysis and refactoring library for python
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!
Pylint - It's not just a linter that annoys you!
vim-slime - A vim plugin to give you some slime. (Emacs)