You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The methods are missing from the code completion drop-down when ctrl-space is clicked from within an object initialization, ex. new Object(Name= System.) the subclasses from System show up but the methods don't.
I tested this outside the scope of an object initialization and the methods are showing up in the drop down.
Steps To Reproduce:
Define and initialize a new Object, any object.
Within initialization, set a property to the result of a method call, ex. System.today().
Use code completion to populate the today() method.
Hi @vmarasow, thanks for bringing this to our attention. I was able to reproduce this locally, and it seems that the special syntax available for sobject initialization is an edge case that is not currently supported by our language server. A new work item has been filed to implement support for this case.
Summary
The methods are missing from the code completion drop-down when ctrl-space is clicked from within an object initialization, ex.
new Object(Name= System.)
the subclasses from System show up but the methods don't.I tested this outside the scope of an object initialization and the methods are showing up in the drop down.
Steps To Reproduce:
System.today()
.Expected result
Actual result
Additional information
VS Code Version: 1.30.1
SFDX CLI Version: sfdx-cli/6.44.0-dead729fb5 (windows-x64) node-v8.9.4
OS and version: Windows 10
The text was updated successfully, but these errors were encountered: