Skip to content

[PHP] Navigator improvements #9510

Description

@rarila

Description

The navigator window has four filters at the moment:

  • Show inherited members
  • Show fields
  • Show static Methods and Variables
  • Show non public members

I suggest the following changes/additions:

• Add Show constants filter

Analogue to Show fields a Show constants filter would probably be very useful.

• Add Show uses filter

Having many "uses" fills the navigator list with stuff thats often more like noise. They are all at one place at the beginning of the file anyway so I would prefer to be able to toggle their display in the navigator.

• Consistency in hover popups / popup menu entries

While being at it, a rather small cosmetic changes comes to mind (nothing that improves productivity, just noticed):

The hover popups in the filter pane are named:

  • Show inherited members
  • Show fields
  • Show static Methods and Variables
  • Show non public members

Whereas the menu entries you get in the Filters menu when right click the navigator are named:

  • Show Inherited Members
  • Show Fields
  • Show Static Methods and Variables
  • Show Non Public Members

I guess having both either lowercase or both capitalized (looking at other menues thats probably the way to go) would be a good idea.

Use case/motivation

IMHO the suggested changes would improve the usefulness of the navigator.

Related issues

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    PHP[ci] enable extra PHP tests (php/php.editor)kind:featureA feature requestneeds:triageRequires attention from one of the committers

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions