DetachHead

Results 929 comments of DetachHead

> I think adding an option for cargo executable path sounds plausible, but at the same time, it feels very niche. i understand. not many people set up their projects...

since `cargo` is part of the `rustup-pypi` package installed by uv, that means it's in my `PATH` whenever the python virtualenv is active. so if i configure vscode to always...

magicpython is bundled with vscode and also hasn't been updated in ages (see https://github.com/microsoft/pylance-release/issues/5824). match statements look fine for me so i assume the extension you're using has gone even...

that looks like syntax highlighting is working but semantic highlighting isn't. are you sure you have basedpyright enabled and not pyright?

not just unions: Code sample in [basedpyright playground](https://basedpyright.com/?typeCheckingMode=all&reportUnusedParameter=false&code=GYJw9gtgBALgngBwJYDsDmUkQWEMoDiApikSEgMYA0UAKokQGoCGIAsAFCiRQVgA2-IhRhIwKAM4A6ZgCMKmbLnwBlIgEcAriQpFOnWlAC8dBixAAKAES0rNPgDdWSZihhHaIbQEp9HCvzMEhJQAGJgYBbEpOQUANq0ALreAFycUBlQACZEwFBBWcAWEkT8wDRO-NopUGpaOkQJyVAAtAB8UABy4kQ1AMRQKGBQZODsHJmTUFIznEA) ```python from typing import Generic, TypeVar from collections.abc import Sequence T = TypeVar("T", covariant=True) class Foo(Generic[T]): def asdf(self, value: Sequence[T]) -> None:...

closing this issue as this user seems to have deleted their account and there's not enough info for me to reproduce. if you somehow still see this, here are some...

i tried the same thing on both vscode and zed and it works for me: ```jsonc // Send: {"jsonrpc":"2.0","id":27,"method":"workspace/symbol","params":{"query":"greet"}} // Receive: {"jsonrpc":"2.0","id":27,"result":[{"name":"greet","kind":12,"location":{"uri":"file:///home/me/projects/test/bar.py","range":{"start":{"line":0,"character":4},"end":{"line":0,"character":9}}}},{"name":"greet","kind":12,"location":{"uri":"file:///home/me/projects/test/foo/asdf.py","range":{"start":{"line":0,"character":4},"end":{"line":0,"character":9}}}}]} ``` so it might be an issue with...

> Do you know where I can find the entire LSP conversation? Can `basedpyright` log to a file, so I can avoid the editor? VSCode doesn't seem to log the...

yeah it's annoying how every language server and client has subtle differences like that, glad you got it working

i've made a groundbreaking discovery: Code sample in [basedpyright playground](https://basedpyright.com/?typeCheckingMode=all&reportUnusedParameter=false&code=GYJw9gtgBALgngBwJYDsDmUkQWEMogCmAboQIYA2A%2BvAoQLABQTTAxhWQM6dQBiYYANoAVALoAuJlGlQAJoWBQqVVEhjKAFJ0IVgAGijFKAV0LiowgJRQAtAD4oAOTAozUmR%2B26AdMqMVTc2EoAF5DEwZmRg95RWVtdX9TLR19cICzC0tJaI8ZL2BfKiTCUPTTFlzpWKg0QkSIlN1rewscvJkiGGMQFCgCopLKjwABThgyGCRWCHqACzBZd2qFKC5ZYA1s5bzgAXN%2BIVQYUTLDjQBGSx2PPbAihOLGq5uZAGIoVlwiVnxCEHAIAMAHc5tM5lBgWBjBRZFAAEalIgQMCkOHwuCwME8BDgHDaOGsOZkdBuKp5eFkEAHASCMDwgBWhF%2BpzCdygHyIODwAEFuEg0ChZigYMJEJEOtJKSAHvUnhkNAAiRXXckeIikSg0cUaO7eOoNBWWawcgjGEVYTLjIEIriEWQIOAgAVzGDmY6VJiHbzrTaWIA) ```python from typing import reveal_type class Foo[T]: def __init__(self, value: T) -> None: self.__value: T = value def __set_value(self, value:...