Jedi-vim
coc-pyright
Our great sponsors
Jedi-vim | coc-pyright | |
---|---|---|
11 | 15 | |
5,235 | 1,251 | |
- | - | |
4.1 | 9.1 | |
4 months ago | 6 days ago | |
Python | TypeScript | |
MIT License | MIT License |
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.
Jedi-vim
-
My office wants everyone to use vim as the only editor. Has this happened to anyone else?
jedi-vim does autocomplete, docstring/signature/stub lookup, usage finding, bulk renaming...
-
I can't compile vim with python2 support?
The readme for jedi-vim says it works with Python 3:
-
How to go to Python documentation in Vim without plugins?
To be able to use ctags you have to run ctags in the source directory to generate the index files. But a better way is to just modify the keywordprg when in a Python buffer or even better use a plugin like pydoc.vim or jedi-vim
-
can't get jedi-vim autocomplete to work - "option omnifunc is not set jedi vim"
I added https://github.com/davidhalter/jedi-vim to my plugins in ~/.config/nvim/init.vim and ran PlugInstall and it worked, but whenever I try to open a python file and the autocomplete part should come up I get
-
Tutorial: A Vim-based workflow for efficient LaTeX
But LSP is a critical part of my Python setup, where I use David Halter's jedi-vim for completion, renaming, go-to-definition, finding usages of variables, etc., so I'm definitely not opposed to LSP on principle. I guess I just found Latex wasn't a complicated enough language for me to benefit from the full suite of features an LSP provides.
-
Basically complete noob trying to learn. What IDE would you recommend?
Install linux (WSL) with this tutorial (assuming you are on windows) and go through this tutorial to get used to it. To write python scripts, use vim and install this plugin.
-
`K` on python keywords
I think you can get that behavior with https://github.com/davidhalter/jedi-vim but I haven't tried it.
-
Setting up Vim for Python
Firstly I will like to install Jedi for code completion in Python. The plugin can be simple and straightforward to install using any of the above plugin managers. Jedi-Vim provides some neat and clean** syntax analytics and autocompletion for Python in Vim**. You'll find the docs and installation process here JEDI-VIM
-
google, are you f****** with me?
I've never used it, not really a python gal, but from what I read, jedi sounds like a good one (https://github.com/davidhalter/jedi-vim).
-
VIM + CoC for python - How hard could it be?
See https://github.com/davidhalter/jedi-vim
coc-pyright
-
How to configure vim like an IDE
Python has several here, pylsp, pyright & a fork of vscode-python
-
How to get inlay hints working with pyright
If you use coc.nvim, the coc-pyright module supports inlay hints: https://github.com/fannheyward/coc-pyright
-
NVIM: More complete autocomplete
I highly recommend coc.nvim with coc-pyright for python support. Works regardless of vim variant (vim/nvim/etc)
-
any way to tell coc-pyright to use mypy for its type checking instead?
Yup! Go here: https://github.com/fannheyward/coc-pyright And search for python.linting.mypyEnabled
- Code Linting
-
Configuring vim for Flask and SQLAlchemy
I think coc-python has been deprecated for a while. You might want to try coc-pyright: https://github.com/fannheyward/coc-pyright
-
Jinja and Django development
And for python dev, you can try & install these coc extension: - https://github.com/fannheyward/coc-pyright - https://github.com/yaegassy/coc-htmldjango
-
What IDE do you use at your job? And what is the primary language you develop in?
VSCode's LSP was the key technology that enabled Vim to get IDE features. I've heard it works well for python.
-
pyee Release 9.0: Type Annotations, New APIs & More!
As a bonus, pyright's baked in vscode support - something it shares with typescript - not only implies a buttery smooth vs code environment, but also leaves the door open for other lsp-friendly editor/IDE plugins. I personally use neovim and coc.nvim, and as it turns out pyright integrates with coc.nvim quite nicely.
-
coc - microsoft python server language high memory usage.
coc-pyright is considered the successor to coc-python.
What are some alternatives?
YouCompleteMe - A code-completion engine for Vim
jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
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!
pyright - Static Type Checker for Python
vim-lsp - async language server protocol plugin for vim and neovim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
lite - A lightweight text editor written in Lua
vundle - Vundle, the plug-in manager for Vim