Copy link to clipboard
Copied
Here, my else is obviously wrong, but there's no hint in the 2018 version.
And in 2017, there is a clear hint.
Yes, CC2018 has Linting in HTML and CSS files that will show whichever errors it is set to display as red line numbers in Code View.
You can verify it is turned on under Edit > Preferences > Linting > make sure "Enable Linting" is checked.
Copy link to clipboard
Copied
Try a forum for Dreamweaver.
Copy link to clipboard
Copied
The Linting in DW CC2018 only fires after saving. If you haven't saved the file there, it won't alert you to errors and inconsistencies.
In earlier versions it fired on open, change and save.
Copy link to clipboard
Copied
Does the 2018 version have this function?
Copy link to clipboard
Copied
Yes, CC2018 has Linting in HTML and CSS files that will show whichever errors it is set to display as red line numbers in Code View.
You can verify it is turned on under Edit > Preferences > Linting > make sure "Enable Linting" is checked.
Copy link to clipboard
Copied
I looked for it and found that I had opened the examination, but my obvious mistake was still unchecked.
Copy link to clipboard
Copied
Look, I've set it up make sure "Enable Linting" is checked.
Copy link to clipboard
Copied
My CC2018 no longer recognizes any error with your code either.
The Linter in DW is extremely limited in the errors/inconsistencies it actually shows.
My guess is, something that was set to "true" in the previous version's Linter is now defaulted to "false" in CC2018. It may be worthwhile to compare the two files to see if there is a difference that's easily changed, but it's probably better to just use online javascript validation tools than DW to warn you about .js errors.
I haven't used Linting for anything since it was added to DW and told me "double quotes are required on html attributes".
I turned it off a long time ago and stick with W3C validation tools for html and css and JSLint for javascipt.