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

VS incorrect folding for match #394

Open
NN--- opened this issue Jul 30, 2012 · 4 comments
Open

VS incorrect folding for match #394

NN--- opened this issue Jul 30, 2012 · 4 comments

Comments

@NN---
Copy link
Member

NN--- commented Jul 30, 2012

How current folding looks like:

match (x)
{
[+] | case1 =>
    ...
[+] | case2 =>
    ...
    | _ =>
[+]  ...
}

The correct form is:

match (x)
{
[+] | case1 =>
    ...
[+] | case2 =>
    ...
[+] | _ =>
  ...
}
@ghost
Copy link

ghost commented Aug 1, 2012

what you mean with word 'folding', is it spaces formatting problem?

@NN---
Copy link
Member Author

NN--- commented Aug 1, 2012

Not space.
I mean where you can toggle code outlining.
Just write match expression in VS and you'll see.

@NN---
Copy link
Member Author

NN--- commented Aug 12, 2012

@VladD2
Copy link
Member

VladD2 commented Aug 12, 2012

The problem manifests itself when a multiline expression is used.

@ghost ghost assigned VladD2 Aug 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants