Netbeans considers for await
syntax to be invalid. The error hint indicates: "Expected ( but found await". Source > Format will not work as expected while the for await
remains.
Is there a way to update the existing syntax checker for .js files to mark for await
as valid syntax, so that the code formatter will work correctly again?
I tried to review FAQs on the official site for Netbeans. All the relevant questions lead to page not found dead ends.
I tried to go to Tools > Options > Miscellaneous > Files to edit the associated file config for js
which defaults to text/karmaconf+javascript
. It's possible to change the file type, but not to edit the existing one. I searched the netbeans program files path for the config file to update it manually, but I don't quite know how to find it.