Skip to content

outline_panel::OpenSelectedEntry toggle the entry's state between opened and collapsed. #41711

@ask4fusora

Description

@ask4fusora

Summary

outline_panel::OpenSelectedEntry also toggle the selected entry's state.

Description

outline_panel::OpenSelectedEntry also toggle the selected entry.
Which mean an opened selected entry when opened will be collapsed, and similar.

Steps to reproduce:

  1. For example, let's use zed's settings.json file.
  2. Open the outline panel.
  3. Select an entry with children.
  4. space (default key binding for outline_panel::OpenSelectedEntry - vscode default keyset)
  5. That entry state will be toggled.

Expected Behavior: The state between collapsed and opened doesn't change.
Actual Behavior: The entry's state is toggled.

Zed Version and System Specs

Zed: v0.210.4 (Zed)
OS: Windows 10.0.26200
Memory: 15.4 GiB
Architecture: x86_64
GPU: NVIDIA GeForce GTX 1660 Ti || NVIDIA Corporation || 581.29 r581_07

Metadata

Metadata

Assignees

No one assigned

    Labels

    bite-sizesmall issuesgood first issueIssue suitable for first-time contributorsoutlineFeedback for outline view, symbols, etcreproducibleVerified steps to reproduce included

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions