InSync
InSync
@angelozerr and @fbricon: I would appreciate it if a LSP4IJ dev could have a look at the (otherwise very promising) linked PR and give me some hints on how to...
@angelozerr See the PR.
The PR is (finally) completed. Once it is merged, I'll submit a PR adding this plugin to the list of addopters.
Can reproduce: ```python from typing import Literal T = Literal['first', 'second'] v: T v = '' ``` ```text 2024-05-09 18:34:12,233 [ 820111] FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: { "jsonrpc":...
Progress update: I'm stuck. The best I can do for now is monkeypatching. Setup: ```python from typing import Literal, TypedDict class D(TypedDict): first: int second: str v: Literal['first', 'second'] d:...
It turns out PyCharm's behaviour is the same as monkeypatch 1 (no completions for `Literal`s): ```py d = {'second|': ''} d = {'''second|''': ''} ``` ...and VSCode's is the same...
@johannesschaffer #52 it is, then. Could you install the fix and play with it for some time first? I already did some testing on my own, but natural workflows tend...
See [the README](https://github.com/InSyncWithFoo/pyright-langserver-for-pycharm?tab=readme-ov-file#installation). The workflow to choose is the one linked from the PR.
> Is it possible for this plugin to recognise other file extensions apart from just `.py` and `.pyi` to communicate with `pyright-langserver`? It is. Simple and straightforward, even. Here's how...
@bzoracler Thanks a lot! That saved me an unimaginably vast amount of work. Could you show me the corresponding log entries? If that's something you don't want to show publicly,...