-
Notifications
You must be signed in to change notification settings - Fork 406
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 does not work all the time #935
Comments
@kvor - Are there any errors from the Apex Language Server? See https://github.com/forcedotcom/salesforcedx-vscode/wiki/Apex-Language-Server#are-there-any-errors-from-the-apex-language-server |
@vazexqi No. Output is clean. |
Does this happen when you have a type (custom object, standard object) that it doesn't understand? Have you fetched the sobjects using https://github.com/forcedotcom/salesforcedx-vscode/tree/develop/packages/salesforcedx-vscode-apex#enable-code-smartness-for-sobjects? |
In any object. After restarting VCS, it works perfectly. Yes, if I have an issue with autocomplete, I try to repeat the fetch process as described but with no luck. When it happens, it is usually fixed after VCS is restarted |
@kvor - What restarting does is that it clears out the database (you can find it under .sfdx/tools/apex.db). That seems to imply somewhere that we have gotten into a weird state with the analysis. However, the fact that no error shows up in the Apex Language Server output window is weird though. Some things to check:
Sorry, this is a bit hard to get a repro so thanks for your patience. |
|
Closing this since it was addressed on release |
Summary
Autocomplete even in Salesforce Apex class is not available.
Steps To Reproduce:
Http http = new Http();
http.se
Expected result
It should autocomplete with
send()
methodActual result
Does not autocomplete any method of Http class
Additional information
It does not happen all the time. Can not reproduce when it is happening.
It is a frequent problem.
VS Code Version:
1.20.1
SFDX CLI Version:
sfdx-cli/6.3.0-7600a88 (darwin-x64) node-v8.9.4
OS and version:
Mac OS 10.13.3
The text was updated successfully, but these errors were encountered: