Skip to content

On cmd/ctrl+struct hover popup definition. #2552

Open
@Nitecon

Description

@Nitecon
  • Plugin version (or commit hash): *
  • IDE name and version: *
  • Java version: *
  • OS name and version: *
  • What are you trying to do?
    Improve the overall user experience by adjusting the plugin workflow to better suite a rapid development environment for the user.
  • What would you expect to happen?
    When a user holds control/cmd and hovers over a function it generates a popup with the definition of the function. To improve the UX you should be able to also inspect a struct by hovering over it. Currently you can get similar functionality by placing the cursor over the struct and using Alt+Space which will bring up the "Quick Definition" popup. To streamline the user experience the user should be able to hover over both functions / structs etc to get a popup definition without having to switch the cursor from the current typing position in order to inspect the struct.
  • What happens?
    Currently CMD/CTRL+hover only generates a popup that shows "type Somestruct" which requires the user to switch the location of the cursor to the struct and then hit key combo alt+space in order to get the same functionality as that of function definitions.

The issue is related to user experience and is not tied directly to the execution of the plugin but rather the human behavioral assumption of where functions should be. The example below shows an example of what should be available when hovering over a struct.

exstructhover

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions