Skip to content

Add Copy Fully Qualified Name command#4428

Open
MeherSru wants to merge 3 commits into
redhat-developer:mainfrom
MeherSru:feature-copy-fqn
Open

Add Copy Fully Qualified Name command#4428
MeherSru wants to merge 3 commits into
redhat-developer:mainfrom
MeherSru:feature-copy-fqn

Conversation

@MeherSru

Copy link
Copy Markdown

No description provided.

@MeherSru MeherSru marked this pull request as ready for review June 15, 2026 15:39
Comment thread src/extension.ts Outdated
Commands.CHANGE_JAVA_SEARCH_SCOPE,
Commands.COPY_FULLY_QUALIFIED_NAME,
Commands.GET_FULLY_QUALIFIED_NAME,
"java.getTroubleshootingInfo",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is "java.getTroubleshootingInfo"? What does it do? It seems unrelated to this PR.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initially pushed the change without adding java.getTroubleshootingInfo. When I ran the tests, the command registration test failed because java.getTroubleshootingInfo appeared in the registered command list but was missing from the expected list.

I then noticed that the command already exists as Commands.GET_TROUBLESHOOTING_INFO, so I updated the test to use the existing constant instead of a raw string for cleaner maintenance. Since the command wasn't introduced by this PR, this was just a small cleanup to keep the test consistent with the rest of the command definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants