Code-Explorer and 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
Gizmor
Posts: 4
Joined: Wed Jan 30, 2008 10:01 pm
Contact:

Code-Explorer and Javascript

Post by Gizmor »

Hello,

I got a problem with the codeexplorer while editing a javascript file. Each time I switch back to the js-file I need to click on the refresh button on top of the codeexplorer. Also when I switch between two js-files, the codeexlorer keeps the old listing for the last selected file until I press the refresh button.

This Problem occurs since one of the last updates. In older Versions this Problem did not exists.
So I hope you can fix this as soon as possible.

Thanks!
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Code-Explorer and Javascript

Post by Gatis »

I am afraid I can not reproduce this problem. Are you using the latest version..?
Does anybody have similar issues?
Have you tried to move cursor over the Code Explorer tree? Does not it help?
Kind regards,
Gatis Avots
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: Code-Explorer and Javascript

Post by MikeyB »

Yes, I can replicate it.

Open WeBuilder with no files open, and view the Code Explorer.
Open a .js file and the Code Explorer stays blank.
Refresh the Code Explorer and it shows the .js file.
Now open a .asp file and the Code Explorer automatically refreshes to show the .asp file.
Now switch back to the .js file and Code Explorer is now blank, have to click refresh on it again.

With two .js files open it seems to get stuck on one of them, and have to refresh to correct it each time.

Auto Switch Language is ticked in the options of the Code Explorer, version 9.5.2.106

Cheers,
Mike
davenz

Re: Code-Explorer and Javascript

Post by davenz »

I cannot replicate. I tried MikeyB's walkthrough above following the instructions to the letter but all js, php and asp files open as expected with their subsequent code breakdown in the code explorer window.

Using Vista Business and WB version 9.5.2.106

Cheers

Dave.
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: Code-Explorer and Javascript

Post by MikeyB »

Hmm, strange!

I did forget to say that I'm using XP Pro SP2, and the files were on a network.
I just tried some files on my C: drive and it behaves the same.

I notice that when I'm in an asp file that the Code Explorer has three tabs at the bottom, HTML, CSS & JavaScript
When I switch to a .JS file it now only has a JavaScript tab, so Code Explorer knows it has changed to a js file, but it is completely blank till I click on the Refresh button at the top.
davenz

Re: Code-Explorer and Javascript

Post by davenz »

I just tried this on my home computer and got the same result as with my work laptop; with no files open, opening a js file shows all elements etc. in the code explorer no problems. Running Vista Business here as well.

Dave.
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Code-Explorer and Javascript

Post by Gatis »

Seems we figured it out.
1) This problem does not happen if you are working with files of small size;
2) If you are working with large files, then code explorer refreshes only after you move your mouse over it (after you have switched the document to another one). However, this was not true for JavaScript files.
There was a bug, and it is fixed now. Thanks for reporting this.

Unfortunately I am not sure when this fix will be released, as we are now concentrating on the next version.
Kind regards,
Gatis Avots
Post Reply