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

Fold button does nothing on empty function #25773

Open
marcospb19 opened this issue Feb 27, 2025 · 0 comments
Open

Fold button does nothing on empty function #25773

marcospb19 opened this issue Feb 27, 2025 · 0 comments
Labels
reproducible Verified steps to reproduce included

Comments

@marcospb19
Copy link
Contributor

Summary

Fold button does nothing on empty scope

Steps to trigger the problem:

  1. Open buffer
  2. Set language to 'Rust'
  3. Paste contents
fn main() {
    
}
  1. Try clicking on the button
a.mp4

Actual Behavior:

Does nothing.

Expected Behavior:

Either hide the button, or do something when I click it.

Zed Version and System Specs

Zed: v0.177.0 (Zed Nightly e8ef36e)
OS: Linux X11 arch unknown
Memory: 60.3 GiB
Architecture: x86_64
GPU: AMD Radeon RX 6750 XT (RADV NAVI22) || radv || Mesa 24.3.4-arch1.1

@devzeth devzeth added the reproducible Verified steps to reproduce included label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reproducible Verified steps to reproduce included
Projects
None yet
Development

No branches or pull requests

2 participants