corfu
pylance-release
Our great sponsors
corfu | pylance-release | |
---|---|---|
44 | 50 | |
1,021 | 1,652 | |
- | 0.7% | |
8.8 | 9.0 | |
15 days ago | 10 days ago | |
Emacs Lisp | Python | |
GNU General Public License v3.0 only | Creative Commons Attribution 4.0 |
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.
corfu
- Does eglot support autocomplete candidates with the same name?
-
anybody here do completion-on-demand, instead of automagically (dwim) ?
You could try corfu. It has auto-completion disabled by default and works most places with M-Tab. Or you could set a longish corfu-auto-delay (0.75s say), and let auto popup only when you stop to ponder a while.
- is it just me, or LSP mode is very slow in emacs?
-
Code completion candidates displayed in minibuffer
Corfu supports this. Or at least it allows you to move completions to the mini buffer which I find quiet useful.
-
Returning emacs user - what packages are common now?
A substantial section of the community is using corfu instead of company, but I wouldn't say company is out of date by any means. In emacs 29 eglot will be a built in, which might act as a replacement for lsp-mode depending on what functionality you need.
-
Why does elpaca make emacs startup so much faster?
Wow, interesting that my response is getting down voted. It seems not enough that I give away my work for free. Nevertheless I appreciate support from the community, as other Emacs package developers. The support is actually helpful. To clarify, publishing my configuration would translate into quite a bit of work, requiring separation of private and public bits.
-
How do I take priority from Evil's escape key?
I am currently using evil and corfu, but I want to configure such that pressing a single escape will invoke corfu-quit when its UI is active (because pressing "C-g" is harder).
-
Emacs lags when making the auto completion pop-up with corfu
A few days ago I found an unexplained slowness when using Corfu on Emacs 29 with pgtk. I stripped my configuration to basically just Corfu, and still had a noticeable delay. Maybe it is related to your problem. https://github.com/minad/corfu/issues/307
-
Replacing strings with Unicode symbols.
The most straight forward solution is probably the package company-math. (that's what I use but with corfu and cape)
-
How to select candidate with argument number only in corfu-indexed mode?
See here: https://github.com/minad/corfu/issues/231
pylance-release
-
Open source versus Microsoft: The new rebellion begins
One of the things that comes to mind here is the fact that the default Python extension for VS Code is, perhaps surprisingly to many, not open source. https://github.com/microsoft/pylance-release
While it's possible to fork VS Code, it is not possible to fork VS Code and provide a seamless onramp towards a Python editing experience that is fully open source, because users are used to the nuances of the closed-source Pylance experience in VS Code proper. You could use the minified/compiled Pylance plugin in your fork, but you'd have no way to expand its capabilities to new hooks your fork provides. Microsoft's development process would always be able to move faster than a fork, because it could coordinate VS Code internal API development with its internal Pylance team, and could become incompatible with forks at any time.
It's worth re-reading the quote from J Allard in https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis... with this modern example in mind.
(Also worth mentioning https://github.com/detachhead/basedpyright?tab=readme-ov-fil... which is a heroic effort to derisk this, but it's an uphill battle for sure!)
- Help! Connection to server got closed error
-
Pylance is not working on my vscode
Anyone know how can we fix this issue if we build the vscode locally
-
VSCode adding exactly one space to all my new lines??
Do any of these issue tickets explain the behaviour you're seeing? https://github.com/microsoft/pylance-release/issues/4341, https://github.com/microsoft/pylance-release/issues/4071
- Pylance: String literal is unterminated
- What do you expect when renaming an import?
-
Writing Python like it's Rust
Maybe they "are the same thing" in terms of behavior (I don't know), but "A uses B" doesn't mean that "A is B".
One important difference in this case is that while "Pylance leverages Microsoft's open-source static type checking tool, Pyright" [1], Pylance itself is not open source. In fact, the license [2] restricts you to "use [...] the software only with [...] Microsoft products and services", which means that you are not allowed to use it with a non-Microsoft open source fork of VS Code, for example.
The license terms also say that by accepting the license, you agree that "The software may collect information about you and your use of the software, and send that to Microsoft" and that "You may opt-out of many of these scenarios, but not all".
[1] https://github.com/microsoft/pylance-release
[2] https://marketplace.visualstudio.com/items/ms-python.vscode-...
-
Any must-have extensions for working with Python in VSCode/VSCodium?
There's this one: https://github.com/microsoft/pylance-release/issues/4174 (rules don't apply properly, and ovverrides don't work even after being set, this is especially for the more generic ones like )
-
MSFT is forcing Outlook and Teams to open links in Edge and IT admins are angry
The example is not .NET in general, but that specific event when Microsoft reneged on open development tooling[1]. For some people, that was the moment they stopped trusting "new Microsoft" to keep their word (though for me, it was when the Python language server was replaced with a DRM-locked, LSP-noncompliant one[2] a bit before that; unlike .NET hot reload, they didn't backtrack there). I can think the company makes great open .NET tools and at the same time not trust them to close it down on a whim.
Does anyone know where the open xlang reimplementation of MIDL went[3], by the way? (Unlike 1990s MIDL, you can't reimplement this one from the language grammar in the docs, because there is no language grammar in the docs.)
[1] https://dusted.codes/can-we-trust-microsoft-with-open-source and links there
[2] https://github.com/microsoft/pylance-release/issues
[3] https://github.com/microsoft/xlang/pull/529
- Import ... could not be resolved
What are some alternatives?
company-mode - Modular in-buffer completion framework for Emacs
pyright - Static Type Checker for Python
emacs-jedi - Python auto-completion for Emacs
jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
vscodium - binary releases of VS Code without MS branding/telemetry/licensing
company-box - A company front-end with icons
company-quickhelp - Documentation popup for Company
neovim - Vim-fork focused on extensibility and usability
posframe - Pop a posframe (just a child-frame) at point, posframe is a **GNU ELPA** package!
nvim-lspconfig - Quickstart configs for Nvim LSP