forked from eclipse-jdt/eclipse.jdt.core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to VariableDeclaration completion
- 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 <[email protected]>
- Loading branch information
Showing
1 changed file
with
45 additions
and
22 deletions.
There are no files selected for viewing
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