Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
2k views

I am a Python developer and would like to use Neovim as my main code editor. I have managed to configure auto-completion, linting and auto-formatting using lspconfig, mason, null-ls, nvim-cmp and ...
Vitalii Diachkov's user avatar
1 vote
1 answer
1k views

About 1 hour ago, the YAPF style formatter broke in my vscode. I noticed that the following settings are all now "greyed-out" in settings.json "python.linting.enabled": true, ...
EnnFour's user avatar
  • 337
1 vote
0 answers
363 views

I am working on Python-based language server (for a domain-specific lanaguage) and VSCode extension using pygls. I have followed the steps in the README and am trying to follow the tutorial. The ...
josquin021's user avatar
1 vote
0 answers
459 views

I started pylsp with pylsp --verbose --tcp --host 127.0.0.1 --port 9999 Now I connected to it with following python code: import json import socket def send_request(request): with socket.socket(...
Exploring's user avatar
  • 3,683
1 vote
1 answer
1k views

I am writing a VS Code extension that will use functionality provided by a language server. Am I required to bundle the language server into my extension? Is there any way to use language servers ...
sourcenouveau's user avatar
2 votes
2 answers
3k views

I use Zed editor with Pyright and it works like a charm. However I want to use Ruff linter with Pyright but I don't find any documentation about how to achieve this for Zed editor. Do I have to ...
Howins's user avatar
  • 671
1 vote
1 answer
1k views

When I start typing a line, for example plt.subp it will show suggestions from matplotlib.pyplot, if I have imported the library above. This is the expected behaviour. The problem is that this is not ...
DiscoMallard's user avatar
0 votes
1 answer
144 views

I could use some help in setting up a solution for debugging a Odoo 14 project with Emacs dap mode I have debug py in the dev dependencies of my odoo project but what am I supposed to do with it ? I ...
user1632812's user avatar
0 votes
0 answers
39 views

Given Python's dynamic nature, it's historically been really hard to work out what exception types could get raised from a given code path Nowadays, language servers (e.g., VSCode’s python) can ...
zcutlip's user avatar
  • 34
5 votes
2 answers
10k views

My neovim(0.6.1) use nvim-lint manage pylint, use pylsp for completion. When edit a python file, use numpy, scipy etc, the code competion, hover, signature is slow, and cpu use 100%. The code have ...
daiweihero's user avatar
1 vote
0 answers
2k views

Is pyright goto definition command supposed to jump into the different modules? I import python class like this from a.b.c import Foo. When my cursor is on a = Foo() and I call lua vim.lsp.buf....
Lajos's user avatar
  • 2,847
2 votes
1 answer
1k views

I'm trying to use flake8 as the default python linter using python-language-server on neovim v0.5. python-lsp documentation says to set pylsp.configurationSources to ['flake8'], but doesn't specify ...
Eric L's user avatar
  • 742
2 votes
1 answer
1k views

Visual Studio Code is not showing Python code snippets anymore. I don't know if this is a bug from Python Language Server (which I have already tried Jedi, Microsoft and Pylance) or a VSCode problem. ...
dsenese's user avatar
  • 172
0 votes
2 answers
239 views

I have an application that exposes some c# objects to an embedded IronPython interpreter like this: using IronPython.Hosting; namespace ironpy { public class Foo { public void bar(...
Eric's user avatar
  • 1,298
0 votes
1 answer
6k views

I've below pip installed in my system $ pip --version pip 19.3.1 from /usr/lib/python3.8/site-packages/pip (python 3.8) python version installed in my system is - $ python --version ...
user51's user avatar
  • 10.6k
0 votes
1 answer
828 views

I've opted to use the Python Language Server instead of Jedi. My project root folder has a subfolder named "cdk_app", and in that folder is file cdk_app_stack.py. That file defines class "...
Elroy Flynn's user avatar
  • 3,248
0 votes
1 answer
3k views

I'm using ArchLinux and want to use Python Language Server with vscode to write python codes. As I search in aur, I found microsoft-python-language-server which download and build the language server ...
王清雨's user avatar
5 votes
3 answers
5k views

I have recently installed Python Language Server in Visual Studio Code. I sometimes have some warnings that I want to locally disabled For example, let's assume I have the following code: import ...
Jean-Francois T.'s user avatar
3 votes
0 answers
445 views

VS Code (and in particular the MS Python Language Server) shows lot's of unnecessary errors. These appear as it lints while I type, but then they persist afterwards. For example, after typing self....
Andy's user avatar
  • 263
4 votes
2 answers
8k views

I am new here. I am trying to setup the python IDE on Atom following the instruction offered by Atom.io. https://atom.io/packages/ide-python There is an instruction: "Depending on your Python ...
Xiao Xiao's user avatar