Skip to main content
caners99037799
Participant
March 28, 2019
Question

How can i make code completion work for PHP included files?

  • March 28, 2019
  • 1 reply
  • 737 views

Hello,

I have a question about auto code completion feature. I am trying Dreamveawer 19.0.1. I am working on a PHP project. My pages have "header.php" and "footer.php" included at certain places. I am also using jQuery and Bootstrap libraries from their CDN's in my project. I have enabled auto discover for outsourced files and it is working really efficent. My problem begins here. When i write code in "header.php", all bootstrap classes are loading very quick this is awesome. But when i start to work for example on "index.php" which includes "header.php", bootstrap classes are not loading for auto completion. I see all included files and so bootstrap.css on the top bar but Bootstrap CSS classes are not loading. This also happens in jQuery too. How can i make the code completion work for all php files which include a php file that has imported files from any CDN? I want the code completion work on all linked files and it does not matter how much system resources that it consumes!

I hope i could explain my problem. Sorry for my weak English.

Best Regards,

Caner

This topic has been closed for replies.

1 reply

Nancy OShea
Community Expert
Community Expert
March 29, 2019

Do you have a local testing server to parse your PHP includes?

I use Wamp server.    See screenshots.

Nancy O'Shea— Product User & Community Expert
caners99037799
Participant
March 29, 2019

Thank you for your answer Nancy.

Yes, i have set up a local test server and a remote server over FTP. I am using WampServer too. Everything is okay when i run the page on design view's live mode. I know everything is working fine but i could not make the automatic code completion work. Here are the screenshot that you might desired to see.

Test Server

Test Server Settings

Here is the code group that auto code completion works. You can also see bootstrap.min.css is included.

Here the code completion is not working anywhere else

Do you advice any solution about this?

caners99037799
Participant
March 30, 2019

OK, good. No code errors.

Try Restore Preferences.

Unusual behavior in Dreamweaver? Try restoring preferences.


I complated reseting the preferences by Win+Ctrl+Shift+Double Click. It opened like brand new installation but unfortunately the same problem continues I am thinking that some buffering or pre-loading option should be checked at some preferences. Because code hints are working in header.php without any problem. I tried Dreamweaver CS5 before but there was not a problem like this. It was woking smooth.

I have checked the CSS Designer Panel and here is the status.