Format Code with Prettier in IONIC 5

Hi,

i am using VS Code and Ionic ( Angular )

On my Macbook i can format code by pressing the buttons “command” + “K” + “F”.
This works perfect for the following example code :

const newPlace = new Place(Math.random.toString(), title, description, ‘https://lonelyplanetimages.imgix.net/mastheads/GettyImages-538096543_medium.jpg’, price, dateFrom, dateTo);

after formatting ist looks like this :

const newPlace = new Place(
Math.random.toString(),
title,
description,
https://lonelyplanetimages.imgix.net/mastheads/GettyImages-538096543_medium.jpg”,
price,
dateFrom,
dateTo
);

The only problem i have is, that the single quote (’) are replaced by double quote (")

Can i change that behaviour somewhere ?

Thx in advance

Brgds Dietmar

1 Like