I used to be on Dreamweaver
, but I have since really gotten into Aptana
Studio 3. I have finally gotten the code coloring down correctly, but one thing I really miss from Dreamweaver
is the dynamic discovery and completion using custom classes. I cannot figure out how to do that in Aptana
Studio though. Here is what I mean:
With Dreamweaver
I could create a file such as class.php
<?php
class Test {
function __construct(){
}
function something(){
$var = "test";
return $var;
}
}
?>
And then I could include it in say index.php
<?php
include_once("class.php");
$test = new Test();
echo $test->something;
?>
Once I included the class in my code and then typed "$test = new " Dreamweaver
would then automatically popup "Test()" for me to chooose. And then of course any variables to pass along. Also, when I typed "$test->" Dreamweaver
would also pop up a list of the functions within that class for me to choose from as well and it would do this dynamically.
So my question is "How do I get this same functionality with Aptana
Studio 3?" I am currently using Aptana
Studio with the remote explorer to open and edit files from a webserver. I have found a few suggestions via Google
about using projects, but I am not really interested in projects right now. I just want to open the file and edit it and/or just create a new file directly on the server.
So, is there anyone out there who knows how to get Aptana
Studio to dynamically detect custom classes and use them for code completion like Dreamweaver
does?
Thanks to everyone in advance.