netbeans
netbeans copied to clipboard
In VSCode provide quickfix relevant to the position of the cursor
Currently, all the quickfix calculated appears in the VS code which may not be related to the current cursor position as well. So, if we add a condition that it should provide quick fixes for the current line only then it would provide quickfixes with better context.
Examples:
Example-1: As seen in the below image before this fix all the hints are shown irrespective of the line context after this only relevant to the current line hints are provided
Before this fix:
After this fix:
Example-2
In this example, a false hint appears since context of the line is not provided, the hint of test()
method is shown in test1()
method.
Before this fix:
After this fix:
For more info: https://github.com/oracle/javavscode/issues/59