在 Netbeans 11 中禁用返回光标行为

Disable back to cursor behavior in Netbeans 11

在 Netbeans 编辑器中滚动并展开带有左侧 + 的代码块时,编辑器会自动滚动回光标位置。

有人知道如何禁用此行为吗?

这是一个已知的严重问题 bug

Collapsing a block often results in a jump of the editor to an incorrect editing position (and scrolling the page cause a rejump to that position after a second of scroll inactivity). The same sources works perfectly with Netbeans 8.2.

显然,它是在将 NetBeans 捐赠给 Apache 基金会之前或期间修复另一个 bug 时引入的。 可能,目前(NetBeans 11.3),您别无选择,只能使用 NetBeans 8.2 或等待 12.0 或 12.1 或更高版本。

您可以随时为 NetBeans 问题 tracker 中的错误投票。更多投票,更多关注,更快修复。