Skip to content
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

feat: update apex-jorje-lsp with setTrace handler #5184

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

mingxuanzhangsfdx
Copy link
Member

What does this PR do?

This PR is to make the update of setTrace handler in effect, so that there will not be UnsupportedOperationException from Apex LS when setTrace is triggered in client side.

What issues does this PR fix or reference?

@W-14352262@

Functionality Before

There are UnsupportedOperationException from the output of Apex Language Server every time users change VS Code workspace configurations. The default implementation of setTrace in Apex Language Server is only to send the exception even if the operation of setTrace is done by lsp4j.

Functionality After

setTrace function is updated so that there will not be any UnsupportedOperationException in output if the trace level is valid ("off", "messages" and "verbose").

@mingxuanzhangsfdx mingxuanzhangsfdx merged commit 2a77c95 into develop Oct 30, 2023
13 checks passed
@mingxuanzhangsfdx mingxuanzhangsfdx deleted the mz/set-trace-jorje-jar branch October 30, 2023 17:44
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.

None yet

2 participants