Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete is slow. #98

Open
asknet opened this issue Jul 12, 2018 · 2 comments
Open

Autocomplete is slow. #98

asknet opened this issue Jul 12, 2018 · 2 comments

Comments

@asknet
Copy link

asknet commented Jul 12, 2018

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.

@neowit
Copy link
Owner

neowit commented Jul 20, 2018

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.

@asknet
Copy link
Author

asknet commented Jul 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants