Skip to content
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

Formatting issue(s) with hover popover #16980

Open
1 task done
tslaton opened this issue Aug 27, 2024 · 1 comment
Open
1 task done

Formatting issue(s) with hover popover #16980

tslaton opened this issue Aug 27, 2024 · 1 comment
Labels
defect [core label] language An umbrella label for all programming languages syntax behaviors popovers Feedback for tooltips, syntax hints, info popups, toasts, etc python Python programming language support

Comments

@tslaton
Copy link

tslaton commented Aug 27, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

  1. Work inside a python file
  2. Configure pyright
  3. Install mutagen: pip install mutagen inside the venv pyright is looking at
  4. Write from mutagen.mp4 import MP4
  5. Mouseover MP4 to observe an issue where   appears inside the docs popover instead of parsed spaces
  6. Mouseover mutagen to observe, additionally, a possible lack of syntax highlighting relative to VSCode

Environment

Zed: v0.149.6 (Zed)
OS: macOS 14.6.1
Memory: 128 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Zed popover for MP4:
zed popover

VSCode popover for MP4:
vscode popover

Zed popover for mutagen:
zed popover ii

VSCode popover for mutagen:
vscode popover ii

If applicable, attach your Zed.log file to this issue.

No response

@tslaton tslaton added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Aug 27, 2024
@tkz789
Copy link

tkz789 commented Aug 28, 2024

It seems to be a general error with all python docstrings I saw. Whenever there are spaces at the beginning of the line resulting in indentation, it is parsed to &nbsp.

@JosephTLyons JosephTLyons added popovers Feedback for tooltips, syntax hints, info popups, toasts, etc python Python programming language support language An umbrella label for all programming languages syntax behaviors and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] language An umbrella label for all programming languages syntax behaviors popovers Feedback for tooltips, syntax hints, info popups, toasts, etc python Python programming language support
Projects
None yet
Development

No branches or pull requests

3 participants