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

LSP feature/declaration support #678

Merged
merged 5 commits into from Feb 27, 2023

Conversation

Efratror
Copy link
Contributor

Added declaration support by rewriting a part of InspectMode.java and adding this capability to the server.

Please give your honest code-review. As i'm not as experienced in java it was my first time using CompletableFutures and Optionals. There are probably faster ways but i've written them out allot to understand them.

Should resolve #676

@benfry benfry merged commit 14e0702 into processing:main Feb 27, 2023
@benfry
Copy link
Member

benfry commented Feb 27, 2023

Thanks! We'll give it a shot for 4.2.1.

Main thing with the code would be following the style guidelines, but the rest looks ok as far as how it integrates with the rest of the source. I don't have time this morning to dig through the code in detail but hopefully having it in use will shake things out a bit.

Great to have more features coming to the LSP implementation!

benfry added a commit that referenced this pull request Feb 27, 2023
@Efratror Efratror deleted the LSP-Feature/Declaration_Support branch February 27, 2023 15:26
@Efratror
Copy link
Contributor Author

Thanks for the quick review.

I've seen the style guide and tried to follow them as closely as possible. Clearly i've misunderstood some parts or wasn't consistent enough. Can you please clarify?

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.

Feature: Language Server Protocol, Definition support
2 participants