• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

syntax color not show

New Here ,
Aug 30, 2022 Aug 30, 2022

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!

TOPICS
Code

Views

141

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 02, 2022 Sep 02, 2022

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.

 

image.png

 

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 & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 05, 2022 Sep 05, 2022

Copy link to clipboard

Copied

Sorry but, I tried to do this test but the colors are not shown yet...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 05, 2022 Sep 05, 2022

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 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 05, 2022 Sep 05, 2022

Copy link to clipboard

Copied

LATEST

Which code theme is selected in Preferences panel?

Edit /DW > Preferences > Interface > Code Theme

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines