Optimize code completion
Opened this issue · 0 comments
Environment
- Extension version: 0.5.2
- OS Type: Linux/Kubernetes
- Eclipse Che
Summary
Hello, we tried to use VSCode ansible on Eclipse Che (based on Eclipse Theia for the vscode ext support) and we noticed that some optimization could be done on the code completion part. I am sure the problem exist in VSCode but it looks like it is even more noticable in Che as some of the traffic are going through the network.
The goal of this issue is to analyse where this could be optimized (maybe caching somewhere?).
Reproduce steps
Run this environement https://che.openshift.io/f?url=https://github.com/sunix/che-ansible. Wait for projects to be cloned. The environment is loading behind the scene VSCode ansible. Open a playbook and hit the code completion (Ctrl space). You can notice the network traffic each time the code completion is triggered.
Expected Results
The expected result is that code completion should return fast
Actual Results
It is very slow and eventually the results of code completion is showing up.