# Prettier options (if any):
none
Input:
Contact newContact = new Contact(FirstName = 'test', LastName = 'contact', AccountId = [SELECT Id FROM Account LIMIT 1].Id);
Actual output:
Contact newContact = new Contact(
FirstName = 'test',
LastName = 'contact',
AccountId = [SELECT Id FROM Account LIMIT 1]
.Id
);
Expected output:
Contact newContact = new Contact(
FirstName = 'test',
LastName = 'contact',
AccountId = [SELECT Id FROM Account LIMIT 1].Id
);
Even if the query was longer to where it needed to be split across multiple lines, I still think the .Id should not be on its own line.
Additional information (please fill this out):
- OS: macOS 11.0.1
- Version: 1.7.0
# Prettier options (if any): noneInput:
Actual output:
Expected output:
Even if the query was longer to where it needed to be split across multiple lines, I still think the
.Idshould not be on its own line.Additional information (please fill this out):