KotlinIsland
KotlinIsland
Ah yes - https://github.com/DetachHead/basedpyright/issues/149 This needs to be added to the "off means off" feature
Neither `Literal["a"]` nor `Literal["a", "b"]` are values of type `type[T]` ('classes'). They are `TypeForm`s, which are undenotable in Python. Both should show an error here. ```py def f[T](t: type[T]): t.mro()...
An instance of `_LiteralGenericAlias` is not a class (`type`)
No, unfortunately not, see #123
Would want `SymbolString` as well. And would it be strict(reject `str`), or just report when an invalid literal is provided?
Can we automatically fold the import blocks, PyCharm does this and it's very appreciated: I don't like seeing 1000 lines of generated code at the top of every file
> I do think the capability comes from pylance, see [this](https://github.com/microsoft/pyright/issues/1037) issue > Folding support was added in 2022.1.1 https://github.com/microsoft/pylance-release/issues/372#issuecomment-1023726101
currently (in bpr) folding is based on indentation: ```py def foo(): print( ) print(2) ``` Try this out, you will observe that it is broken.
This is just normal functionality of vscode, when you trigger auto complete at any position, it will suggest random words 
The identical behavior can be observed in javascript:  Can I ask, why you find the auto completions here to be unexpected and detrimental to the user experience? I personally...