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 action does not always fold the inner most uncollapsed region #3317

Closed
weinand opened this issue Feb 23, 2016 · 1 comment
Closed

Fold action does not always fold the inner most uncollapsed region #3317

weinand opened this issue Feb 23, 2016 · 1 comment
Assignees

Comments

@weinand
Copy link
Contributor

weinand commented Feb 23, 2016

On testing #2994

In the following snippet place the caret on 'hello' and perform a 'Fold' operation:

class xyz {
    foo() {
        if (a == b) {   
            hello
        } else {
            world
        }
    }
}

Observe: 'foo()' get collapsed but I would expect that the 'if' gets collapsed.

@weinand weinand added the bug Issue identified by VS Code Team member as probable bug label Feb 23, 2016
@aeschli
Copy link
Contributor

aeschli commented Feb 24, 2016

duplicate of #3398

@aeschli aeschli closed this as completed Feb 24, 2016
@aeschli aeschli removed the bug Issue identified by VS Code Team member as probable bug label Feb 26, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants