Skip to content

Usages: Add means to disable code preview #8112

Closed
@pgifford

Description

@pgifford

Description

Add means to disable or hide code preview in Usages results.

Use case/motivation

I code on a monitor in portrait orientation.

Motivation for request

  1. The code preview in Usages takes up over 2/3 of the window width covers about 50% of the horizontal extent of the results tree
  2. The Usages code preview cannot be resized so it is not visible. When the divider is dragged as far as possible to the right, line numbers are still visible.
    • The Search Results code preview can be completely hidden by dragging the divider all the way to the right.
  3. Usages code preview does not respect user preferences. Each invocation returns the divider to the default position which means I have to drag it back to the right to be able to read the results without having to scroll.
    • Once hidden (i.e. divider moved fully right) the Search Results code preview remains hidden even when NetBeans is closed and reopened.

NetBeans has been my daily driver for over 20 years and I have rarely wished for a code preview in usages (or search results). It should be an optional element and not forced upon everyone, especially when the implementation is in such a rough state.

Related issues

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!UIUser Interfacekind:featureA feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions