-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
In the settings, I specified only two options: “camelCase” and “snake_case.” And here is the result.
It is better to demonstrate than to explain.
Initial object:
export class DataTypeDto {
order_id: string;
increment_id: string;
name: string;
delivery_date: string;
customer_id: string;
}
If you select the entire object and press the key combination, you will get the following result
exportclassDataTypeDto{
orderId:string;
incrementId:string;
name:string;
deliveryDate:string;
customerId:string;
}
If you select only the parameters and types, you will get this result.
export class DataTypeDto {
ORDER_ID:_STRING;
__INCREMENT_ID:_STRING;
__NAME:_STRING;
__DELIVERY_DATE:_STRING;
__CUSTOMER_ID:_STRING;
}
As I can see, in the first option, it removed all spaces, even though I have this option disabled. And in the second option, it also did not work correctly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels