Dreamweaver and custom php functions

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Dreamweaver and custom php functions

Post by m3mn0n »

This one is for you Dreamweaver MX veterans.

I've been using Dreamweaver for quite some time now. Though I hate the fact that it hogs a good chunk of my resources, no other editor can compete with it's features (that I've used anyway). One feature that I would like this thing to have is recognition of custom made php functions.

Like if you have a page such as these:

index.php

Code: Select all

<?php
include "./inc.php";
$var = 1;
echo customfunction($var);
?>
inc.php

Code: Select all

<?php
function customfunction($var)
{
  $var = $var + 1;
    return $var;
}
?>
...Dreamweaver will detect custom functions and add proper syntax highlighting to it. Currently it doesn't do that for me.

Is there a setting that will enable this some where in this prog? I've searched around with no luck. :?
User avatar
igoy
Forum Contributor
Posts: 203
Joined: Fri May 02, 2003 11:57 pm
Location: India
Contact:

Post by igoy »

unfortunately... it doesn't... :(

I've been using Dreamweaver since it's first version (and Utradev too)..

But i'm sad to agree that it doesn't recognise custom function written in PHP.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Confirmed. It's impossible. :x
Post Reply