Skip to main content
webt927179
Participant
August 30, 2022
Question

syntax color not show

  • August 30, 2022
  • 1 reply
  • 1091 views

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!

This topic has been closed for replies.

1 reply

Nancy OShea
Community Expert
Community Expert
September 2, 2022

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.

 

Nancy O'Shea— Product User & Community Expert
webt927179
Participant
September 5, 2022
Sorry but, I tried to do this test but the colors are not shown yet...
Community Expert
September 5, 2022

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