Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Not possible to fold case within switch #185

@elarivie

Description

@elarivie

Description

It is currently not possible to fold cases within switch

Steps to Reproduce

  1. Write a switch statement
  2. Add some cases with code
  3. The cases can't be folded

Expected behavior:

I was expecting a 'v' symbol to show-up allowing user to fold each cases within the switch statement

Actual behavior:

No 'v' symbol show up for the cases, it is possible to fold the whole switch but not the case individually

Reproduces how often:

every time

Versions

atom --version
Atom : 1.57.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1
language-go: 0.47.2
OS: Ubuntu

Additional Information

I found the currently closed three years old issue #163 which was about the same thing. So I guess that folding cases is a feature which seems to have been lost since.

Note: It should also be possible to fold 'default' case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions