Hello,
I have the following Javascript code:
unique_sub_names = [...new Set(user_data.map(item => item.sub_name))]
I can run the code just fine, everything works as it should. However, inside Qt Creator, I get an “Expected token” error for the ‘…’ part and an “Unexpected token” error for the arrow function.
Even though everything runs on the Live Server just fine, these ‘errors’ cause code coloring issues for all code I write after the error has been detected (plus I can always see this error in my code.
Is there a way to have Qt Creator ignore certain errors? I read that Qt Creator 4.9 addresses these issues a little but the most recent version of Felgo uses version 4.8.2.
Thank you for any help.
Best,
Eric