Copy link to clipboard
Copied
I found that on my new Mac the dreamweaver program no longer recognizes the colors of the code syntax. The check in the settings to see the colors is already active but the code always remains black without distinguishing the various colors of the code php, html, js, etc. any solutions?
thanks!
Copy link to clipboard
Copied
As a test, go to File > New > PHP > hit the Create button.
Paste this code into newly created PHP page and save as php-test.php.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>PHP Info</title>
</head>
<body>
<?php phpinfo() ?>
</body>
</html>
Your code should resemble this albeit with different colors. I'm using a Ruby Blue Code Theme.
If you see colors in the Test page, then your other document contains syntax errors that need to be resolved.
HTML - https://validator.w3.org/
CSS - https://jigsaw.w3.org/css-validator/
PHP - https://phpcodechecker.com/
JS - https://esprima.org/demo/validate.html
Hope that helps. If not, post back.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Can you try restoring preferences and/or logging in as another user to see if the issue persists?
https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html
Copy link to clipboard
Copied
Which code theme is selected in Preferences panel?
Edit /DW > Preferences > Interface > Code Theme