vim-force.com icon indicating copy to clipboard operation
vim-force.com copied to clipboard

Autocomplete is slow.

Open asknet opened this issue 7 years ago • 2 comments

Currently, the auto complete available is slow. Is any configuration required to speed it up?

Is there any plan to integrate Apex LSP (https://github.com/forcedotcom/salesforcedx-vscode/wiki/Apex-Language-Server). It would be really awesome and makes this plugin best in-class.

asknet avatar Jul 12 '18 14:07 asknet

When you say slow - how slow is it? Can you provide a reproducible example?

With v0.4.2.0 of tooling-force.com.jar it only takes more than 1 second for me when calling completion very first time after starting the server or calling completion on a new SObject (when server has to load "SObject Describe" from SFDC), but even then I am still taking about 2-3 seconds.

With regrds to Apex LSP - if I am not mistaken it uses same completion as Force.com IDE - when I last tried it (few years ago) I found it inferior to completion supported by tooling-force.com.jar at that time.

neowit avatar Jul 20 '18 09:07 neowit

I was using v0.4.0.2, it's slow and now i switched to V0.4.2.0 it's better. I will report if there is any issues with 0.4.2. thanks

I agree force.com IDE auto completion is inferior, but I assumed as salesforce is putting more efforts on Apex LSP along with vscode, thought it would be better. Also, there is no documentation available for Apex LSP also to get started with.

asknet avatar Jul 20 '18 15:07 asknet