Codeexplorer bug for Javascript

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
franka
Posts: 4
Joined: Sun Nov 16, 2008 8:59 pm
Location: Berlin, Germany

Codeexplorer bug for Javascript

Post by franka »

In the Code Explorer a method of a class is shown as a separate function and not with the scope of the class.

Take this example:

Code: Select all

function MyClass(){
      this.myvar = "message";

     this.clickMe= function(){
       alert(this.myvar);

     }
    }
}
The Code Explorer should show the function "clickMe" as a child node of the function MyClass and not as a function "MyClass" and a function "this.clickMe". The other thing: the variables should be shown too!
For PHP this seems to work correctly, would be nice to have this implemented also for Javascript.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Codeexplorer bug for Javascript

Post by Karlis »

Currently JavaScript support in Code Explorer does not support classes. We plan to introduce better JavaScript support in early 2009.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply