apache / apache/netbeans

Copy full class name to clipboard (Java)

Open
#5,735 1 comment 0 reactions 0 assignees View on GitHub
kind:feature UI
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

When you hover on tabs it would be nice to be able to copy full class name for currently open Java class. So package name and name of the class.

![obraz](https://user-images.githubusercontent.com/1045235/228320470-7837a268-ad0f-474b-92b9-a70ce1124db0.png)

### Use case/motivation

We (in out team) use class names or full class names to share information on bug tracker, chat, review notes etc. Those names are then useful for navigation with `alt`+`shift`+`o` (Go to File).

Note that file paths are less useful because we all have different paths to projects. So at least for Java full names are better. For other projects we share and use relative paths sometimes (relative to project root).

### Related issues

_No response_

### Are you willing to submit a pull request?

Yes

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the Java editor tab hover behavior and the existing copy or context-menu actions; done means a currently open Java class can copy its package-qualified class name for use in navigation and notes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.