Slow completions
As discussed on the mailing list, Scala completion can be very slow. See discussion on Scala IDE User.
This boils down to retrieving parameter names for Java methods.
This boils down to retrieving parameter names for Java methods.
Leave a comment
(In scala-ide:ffcf62afa48f6b775258493f5cc34e84e517d2e0) Lazy retrieval of Java parameter names in completions.
When a completion is selected we need to show the parameter names as placeholders.
If the method comes from Java, we need to retrieve the Java element, a potentially
long-running operation that can trigger the structure builder. Instead of retrieving
all parameter names eagerly, for each completion proposal, we delay it to the
moment a completion is selected and inserted in the editor.
Fixed #1001560, #1001497.
Branch: master
When a completion is selected we need to show the parameter names as placeholders.
If the method comes from Java, we need to retrieve the Java element, a potentially
long-running operation that can trigger the structure builder. Instead of retrieving
all parameter names eagerly, for each completion proposal, we delay it to the
moment a completion is selected and inserted in the editor.
Fixed #1001560, #1001497.
Branch: master
on 2013-03-06 07:49 *
By Iulian Dragos
(In scala-ide:1b16c890f1170c2c805fd5a525c5cb5b33d28ed5) Lazy retrieval of Java parameter names in completions.
When a completion is selected we need to show the parameter names as placeholders.
If the method comes from Java, we need to retrieve the Java element, a potentially
long-running operation that can trigger the structure builder. Instead of retrieving
all parameter names eagerly, for each completion proposal, we delay it to the
moment a completion is selected and inserted in the editor.
Fixed #1001560, #1001497.(cherry picked from commit ffcf62afa48f6b775258493f5cc34e84e517d2e0)
Branch: release/scala-ide-3.0.x
When a completion is selected we need to show the parameter names as placeholders.
If the method comes from Java, we need to retrieve the Java element, a potentially
long-running operation that can trigger the structure builder. Instead of retrieving
all parameter names eagerly, for each completion proposal, we delay it to the
moment a completion is selected and inserted in the editor.
Fixed #1001560, #1001497.(cherry picked from commit ffcf62afa48f6b775258493f5cc34e84e517d2e0)
Branch: release/scala-ide-3.0.x
on 2013-06-05 01:55 *
By Iulian Dragos
(In scala-ide:ffcf62afa48f6b775258493f5cc34e84e517d2e0) Lazy retrieval of Java parameter names in completions.
When a completion is selected we need to show the parameter names as placeholders.
If the method comes from Java, we need to retrieve the Java element, a potentially
long-running operation that can trigger the structure builder. Instead of retrieving
all parameter names eagerly, for each completion proposal, we delay it to the
moment a completion is selected and inserted in the editor.
Fixed #1001560, #1001497.
Branch: platform/juno
When a completion is selected we need to show the parameter names as placeholders.
If the method comes from Java, we need to retrieve the Java element, a potentially
long-running operation that can trigger the structure builder. Instead of retrieving
all parameter names eagerly, for each completion proposal, we delay it to the
moment a completion is selected and inserted in the editor.
Fixed #1001560, #1001497.
Branch: platform/juno