Skip to content

Fix csharp_new_line_between_query_expression_clauses #272

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

Merged
merged 1 commit into from
Sep 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/ide/editorconfig-code-style-settings-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ csharp_new_line_before_members_in_anonymous_types = true
### <a name="newline_before_query"> Newline Before Members in Query Expression Clauses</a>
| **Option Name** | **Applicable Languages** | **Visual Studio Default** | **Supported Version** |
| ----------- | -------------------- | ----------------------| ---------------- |
|`csharp_new_line_within_query_expression_clauses` | C# | true | Visual Studio 2017 v. 15.3 |
|`csharp_new_line_between_query_expression_clauses` | C# | true | Visual Studio 2017 v. 15.3 |


| Value | Description
Expand All @@ -893,14 +893,14 @@ csharp_new_line_before_members_in_anonymous_types = true

#### Applied:
```csharp
// csharp_new_line_within_query_expression_clauses = true
// csharp_new_line_between_query_expression_clauses = true
var q = from a in e
from b in e
select a * b;
```

```csharp
// csharp_new_line_within_query_expression_clauses = false
// csharp_new_line_between_query_expression_clauses = false
var q = from a in e from b in e
select a * b;
```
Expand All @@ -909,7 +909,7 @@ var q = from a in e from b in e
```
# CSharp formatting settings:
[*.cs]
csharp_new_line_within_query_expression_clauses = true
csharp_new_line_between_query_expression_clauses = true
```

## <a name="indent">Indentation Options</a>
Expand Down