Encountering an issue with the prettier extension in VS Code, Whenever I enter the following code:
const result = await pool
.request()
.query('select NumberPlate, ID, TimeStamp from RESULTS order by ID');
and save the file, it condenses into a single line like so:
const result = await pool.request().query('select NumberPlate, ID, TimeStamp from RESULTS order by ID');
despite having the following configuration set up for prettier:
{
"git.confirmSync": false,
"editor.minimap.enabled": false,
"window.zoomLevel": 0,
"liveServer.settings.donotShowInfoMsg": true,
"workbench.startupEditor": "newUntitledFile",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"editor.formatOnSave": true,
"prettier.printWidth": 200,
"prettier.singleQuote": true,
"prettier.arrowParens": "always",
"editor.tabSize": 2,
"editor.tabCompletion": "on"
}
Is there a solution to prevent this behavior?
Appreciate any assistance!