Skip to content

Fixed project clean and project compile commands in the command palette #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Achal1607
Copy link
Member

The editor was not passing the necessary context to the NetBeans LS when executing the jdk.project.run.action command. As a result, the LS lacked the information required to determine which project or file to compile or clean, leading to an undefined error.
It worked fine with the project view because it passes the project context to the Netbeans LS.

Fix
This PR ensures that the appropriate context from the editor is correctly passed to the NetBeans LS, allowing it to resolve the target of the action and execute it as expected.

@Achal1607 Achal1607 requested a review from sid-srini July 15, 2025 06:58
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 15, 2025
@Achal1607 Achal1607 added this to the JVSC 24.1.1 milestone Jul 15, 2025
Copy link
Member

@sid-srini sid-srini left a comment

Choose a reason for hiding this comment

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

Thanks @Achal1607. LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants