Copy link to clipboard
Copied
A simple Code:
Why not detect the errors in javascript?
Copy link to clipboard
Copied
I dont use DW but l seem to remember in later versions you have to save the file before errors are detected. I also dont know if its capable of flagging errors outside of the scope of the file, in your case php
Copy link to clipboard
Copied
Do you have Linting and Code Hints enabled in Preferences? I'm using the 2019 version here. Some new preference options have been added to mine. See screenshots.
I have a PHP document open and JS Code Hints work fine for me.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
If you want to use linting, keep JavaScript inside a .js file and PHP code in a .php file.
Copy link to clipboard
Copied
Unfortunately a further retrocess of the DW because in the CS6 version this worked like a candy!