Don't retrieve method parameter names for Java symbols that are not methods
When creating completion proposals, the IDE inserts the name of each parameter as a suggestion for the chose completion.
This can be slow for Java symbols. Right now the completion engine tries to retrieve the `JavaElement` for all java symbols, but it should only do it for methods.
This can be slow for Java symbols. Right now the completion engine tries to retrieve the `JavaElement` for all java symbols, but it should only do it for methods.
Leave a comment
on 2012-10-22 15:26 *
By Iulian Dragos
Summary changed from Don't retrieve method parameter names for Java non-methods to Don't retrieve method parameter names for Java symbols that are not methods
(In scala-ide:c431512612a5a2f8d56f0b22f9d289e999c463ed) Faster completions for Java symbols.
Fixed two sources of slow behavior in `mkCompletions`, both related to inserting parameter
names as suggestions for the chosen completion.
Fixed #1001287.
Branch: master
Fixed two sources of slow behavior in `mkCompletions`, both related to inserting parameter
names as suggestions for the chosen completion.
- don't retrieve method parameter names for Java symbols that are not methods (they can't have parameter names anyway)
- when calling `getJavaElement` pass the current project (makes no sense to look up types in other projects).
Fixed #1001287.
Branch: master
on 2012-10-25 13:18 *
By Iulian Dragos
(In scala-ide:c431512612a5a2f8d56f0b22f9d289e999c463ed) Faster completions for Java symbols.
Fixed two sources of slow behavior in `mkCompletions`, both related to inserting parameter
names as suggestions for the chosen completion.
Fixed #1001287.
Branch: platform/juno
Fixed two sources of slow behavior in `mkCompletions`, both related to inserting parameter
names as suggestions for the chosen completion.
- don't retrieve method parameter names for Java symbols that are not methods (they can't have parameter names anyway)
- when calling `getJavaElement` pass the current project (makes no sense to look up types in other projects).
Fixed #1001287.
Branch: platform/juno