-
Notifications
You must be signed in to change notification settings - Fork 0
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
Faulty Content Assist Within Blocks #21
Comments
Did a lot of research over this topic. Came across a few interesting things:
What I tried doing:
The twist in the plot
Conclusion: |
Another Observation is that when we have a type cast in the following statement followed by a method call, this issue is specific to that case. On printing the scanner in 2 cases, it looks like this:
In other words, the parser parses for the following statements:
as:
|
Issue: eclipse-jdt/eclipse.jdt.core#1770
Current Behavior
Under specific conditions, content assist provides proposals as expected in the context. Consider the following code:
Opening auto-completion proposal after the
i.
does not provide content assist fori
but for its context:The conditions for this problems I found so far are as follows:
Expected Behavior
The content assist should provide the methods of
i
as proposals, same as when one of the conditions above is not fulfilled. For example:shows:
The text was updated successfully, but these errors were encountered: