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

add preference help for custom folding regions #2703

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,45 @@ <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>
<h3 class="related">Related References</h3>
<a href="../ref-preferences-editor.htm">Java Editor preference page</a>
</body>
Expand Down