Brett Cannon

Results 146 issues of Brett Cannon

No need to show the whole traceback, just the exception message.

enhancement

I'm starting to look for a library to do source transformations and I _think_ parso could handle it via its [`parso.Grammar.refactor()` method](https://parso.readthedocs.io/en/latest/docs/usage.html#parso.Grammar.refactor), but there's not docs on how to use...

help wanted

https://github.com/microsoft/vscode-python/issues/481 is **the** most requested feature in PVSC. Solving it via format-on-type is probably the easiest and most consistent way. Since Pylance knows what the indentation level is, when things...

enhancement

Microsoft/vscode-python#2466 If you do `python3 setup.py build_ext --inplace` for `e.g. _hellomodule.c` on maOS you end up with a `_hello.cpython-37m-darwin.so` file in the same directory as `setup.py`. The language server is...

E.g. `if`, `try`, `with`. For when discussions about providing code actions begin. Microsoft/vscode-python#2340

enhancement

JSON is such a common interchange format it might make sense to define it as a specific type. ``` python3 JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']]...

topic: feature

Only list Python 2.7 and 3.6 as supported. There's also no specification of what Python versions are supported via `requires-python`.

The docs only seem to reference it in the [default settings](https://code.visualstudio.com/docs/getstarted/settings#_default-settings). Otherwise I always have to refer to https://code.visualstudio.com/updates/v1_57#_sort-imports-source-action on how to use it (and I don't know all the...

doc-bug

I had to go digging into https://github.com/microsoft/vscode/blob/7c1c5300513617d79e1c66c8d2117a5b95259ffa/src/vs/workbench/services/language/common/languageService.ts#L67-L72 to check what is exactly accepted for the setting (and that's only because I have used the setting before, else I wouldn't know...

extensibility
doc-bug

https://code.visualstudio.com/api/language-extensions/programmatic-language-features makes no mention of https://code.visualstudio.com/api/references/vscode-api#SelectionRangeProvider.

extensibility
doc-bug