Update to modern JavaScript standards
Copy link to clipboard
Copied
The number of things being shown as erroneous in DW is increasing to a point where it's not as usable as other platforms (for example, Atom, which isn't my favorite for anything other than JS).
Specific items that are not being correctly parsed include things like async function (gives an 'unexpected token function' error) and fetch (also an 'unexpected token' error), along with a lot of the functionality for things like URLSearchParams (gives an 'undefined function' error kinda randomly).
All the code from these things runs perfectly in every browser I can test (except IE8 and Opera Mini, neither of which are up to modern standards).
Anyway, I'm hoping there is an update to that stuff for 2023, which is standards-based and can be seen on MDN and similar standards-based sites.
Copy link to clipboard
Copied
AFAIK, Dreamweaver supports the latest ECMAscript.
https://helpx.adobe.com/dreamweaver/using/whats-new.html
Maybe the code Linter is getting in your way. You can edit JS Lint from Manage Sites Panel (see screenshot).
Or you can disable Code Linting from your Preferences Panel.

