forked from eclipse-jdt/eclipse.jdt.core
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Hack to prevent OperationCanceledException from being propagated to logs #1052
Open
datho7561
wants to merge
802
commits into
eclipse-jdtls:dom-with-javac
Choose a base branch
from
datho7561:dom-with-javac-cancellation-hack
base: dom-with-javac
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Hack to prevent OperationCanceledException from being propagated to logs #1052
datho7561
wants to merge
802
commits into
eclipse-jdtls:dom-with-javac
from
datho7561:dom-with-javac-cancellation-hack
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
datho7561
force-pushed
the
dom-with-javac-cancellation-hack
branch
2 times, most recently
from
December 12, 2024 15:01
4beec1c
to
2510c10
Compare
It may provide finer grain information (eg allows to distinguish permits vs sealed issues)
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
And trim out some non-compatible args from problem arguments.
eg. ```java Object asdf = new Object<>(); ``` Also fixes the quickfix to remove it. Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
…ient Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: David Thompson <davthomp@redhat.com>
In some cases (such as switch expressions), Javac generates some extra .class files of nested anonymous types. Those are only created duing the "generate" phase, and are not detected during "analyze"; so we add in the listener for Generate ability to record such newly generated classes. Fixes eclipse-jdtls#1014
This reverts commit 170822b. And it adapts it so that the if the resulting node after adjust is not a SimpleName or a Literal (ie is structured), then this previous node is used as context
Most issues related to token and positions are covered.
Only do it when the type isn't in the same class and use `null` instead of a 0 length array Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
- select the correct node to complete when working with variable declarations - for FieldDeclarations, don't allow using declarations that occur after the current declaration when completing the initializer (eg. do not suggest `c` nor `b` in `int a = 1; int b = |; int c = 3;`) - also handle field declarations with multiple variable declaration fragments properly (eg. allow `a` as a completion in: `int a = 2, b = |`) Signed-off-by: David Thompson <davthomp@redhat.com>
I think I'm missing some edge cases, but this should fix a few cases. Signed-off-by: David Thompson <davthomp@redhat.com>
Sometimes, types were collected by the scrapeBindings method and the type search. This PR prevents suggesting the type from the type search if it was already suggested through publishFromScope Should fix ~10 test cases Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
ZipFileSystem can have its underlying channel closed if a consuming thread was interrupted while reading (eg aborted hover). Override the fileManager so that the channel is not closed.
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Those allow to store a more accurate key.
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
Should get all the "favourite static imports" tests passing; around 33 new passing tests and no regressions. Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561
force-pushed
the
dom-with-javac
branch
from
December 13, 2024 18:57
aa3b08f
to
cc0dccd
Compare
Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561
force-pushed
the
dom-with-javac-cancellation-hack
branch
from
December 13, 2024 19:00
2510c10
to
8cfd179
Compare
mickaelistria
force-pushed
the
dom-with-javac
branch
from
December 15, 2024 09:45
7e220b3
to
525cd23
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.