Skip to content

Commit

Permalink
add preference help for custom folding regions
Browse files Browse the repository at this point in the history
  • Loading branch information
danthe1st committed Dec 25, 2024
1 parent 86cd6c1 commit 2f4537b
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,50 @@ <h1>Java Editor Folding Preferences</h1>
<p>On</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Custom Folding regions</p>
</td>
<td valign="top">
<p>If enabled, custom folding regions are folded when opening a new editor.</p>
</td>
<td valign="top">
<p>Off</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Text marking start of region</p>
</td>
<td valign="top">
<p>Comments starting with the content of this option indicate the start of custom folding regions.</p>
</td>
<td valign="top">
<p>#region</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Text marking end of region</p>
</td>
<td valign="top">
<p>Comments starting with the content of this option indicate the end of custom folding regions.</p>
</td>
<td valign="top">
<p>#endregion</p>
</td>
</tr>
</tbody>
</table>
<p>
Custom folding regions allow creating regions to fold using a marker text for the start and end of the region in a comment.
Leaving the fields for the start or end markers empty disables this feature.
</p>
<p>
<img src=
"../../../../reference/preferences/java/editor/images/ref-preferences-folding-custom-regions.PNG"
alt="Custom folding regions marked with a start and end comment" />
</p>
<h3 class="related">Related References</h3>
<a href="../ref-preferences-editor.htm">Java Editor preference page</a>
</body>
Expand Down

0 comments on commit 2f4537b

Please sign in to comment.