-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate imports: Use more python-like preview #1250
Comments
Yep, this is on our TODO list; we made completions more consistent but haven't gone and changed these. Quick fixes are trickier because we can't make the "code" bit monospaced, and the quick fix list contains fixes from things that aren't Pylance as well, so we need to have a balance. My guess is that we can do something like:
To clearly indicate the action that will be taken. |
Lack of monospace sucks :/ Non-monospaced code looks pretty strange. Any idea if I can use custom CSS to make that whole dropdown monospaced? I think I'd prefer that over having nothing in there monospaced... |
Not that I'm aware of, anyway. IIRC that's just the system's default text, or whatever Electron preselects. In any case, swapping the order is an improvement anyway, with or without the monospacing (and other languages like TS behave just fine). |
we can't do coloring either. the only thing we can do is changing the text to reflect what will be inserted. (same as the one in completion) |
This issue has been fixed in version 2021.5.4, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202154-26-may-2021 |
I would prefer the items in this dropdown to be shown like this:
Ideally with the same syntax highlighting that's used in the editor.
This would make it much more readable than the current way.
The text was updated successfully, but these errors were encountered: