Open HillaShx opened 1 month ago
Hey @HillaShx
I think the issue here is that pyright isn't actually offering any code actions in this case. That does mean that we should not be showing that option in the menu and implying there are some. One way of knowing if there are code actions is that there will be a lightning bolt in the gutter when focused on a line that has them, as in this Rust example:
I see. Thank you for the explanation! Can we expect code actions via pyright in the future? Is there I way to help make it happen?
Check for existing issues
Describe the bug / provide steps to reproduce it
The Code Actions menu does not open for me when I press the keybinding or click the option in the right-click menu. It happens with 2 different repositories (the only ones I opened with zed til now), and I also tried it with different issues (definition not found, function with wrong number of args). What you can see in the screenshot is me trying to open it via the right-click menu twice, then pressing ⌥+↵ twice. Both didn't do anything. I did quit zed and opened it again, no change in behavior.
Environment
Zed: v0.143.7 (Zed) OS: macOS 14.5.0 Memory: 16 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
https://github.com/user-attachments/assets/30a58892-74ba-4b99-8ce6-1e6ac1da115c
If applicable, attach your Zed.log file to this issue.
Zed.log