No JavaScript Code Completion?

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
Dosse
Posts: 2
Joined: Wed Feb 29, 2012 9:28 pm

No JavaScript Code Completion?

Post by Dosse »

Hi!

I recently bought WeBuilder, and so far am very happy with it.

However, i recently tried to write some JavaScript in a .js file, and i get no auto complete popups.

For example, if i try to enter "window.", or "document.", i get no popup menu at all. However, if i enter the following...

function test(document.), or if (document.), where i put the document. or window. between parantheses, i get code completion popups just fine, but not if i enter it in global or local space.

Have i missed something here? Should'nt code completion work in files named .js, as entered in the options?
reacher
Posts: 40
Joined: Fri Oct 28, 2011 11:16 am

Re: No JavaScript Code Completion?

Post by reacher »

Hi Dosse and welcome to the fourm.

I have no experience with Javascript coding as such so cannot tell you if/when code completion should appear. However even in HTML and PHP things sometimes get missed so I am now in the habit of hitting control and space to invoke the code completion dialogue if/when it doesn't show. One of the glitches of WeBuilder is that when working with a preview window open, sometimes focus is robbed from the coding window as the preview refreshes and this kills code completion; control + space soon displays it so even though this could be a bug (and you can report it as such) at least this could be a workaround.
Dosse
Posts: 2
Joined: Wed Feb 29, 2012 9:28 pm

Re: No JavaScript Code Completion?

Post by Dosse »

Hi reacher!

Thank you for your Quick reply!

I tried the Ctrl + Space trick, and lo and behold, the code completion list poped up just fine. I did not know about that keyboard command.

Must be some kind of bug in WeBuilder 2011 that prevents code completion to open up automatically in Javascript. Works fine in HTML, CSS and PHP. Tried to see if this was a setting in preferences, but nothing there that change this behavior. So it seems i have to continue to press ctrl + space to bring up code completion.

Anyhow, thank you so much for your help, very much apreciated.
zbahadir
Posts: 10
Joined: Sun Oct 09, 2005 2:46 am

Re: No JavaScript Code Completion?

Post by zbahadir »

reacher wrote:Hi Dosse and welcome to the fourm.

I have no experience with Javascript coding as such so cannot tell you if/when code completion should appear. However even in HTML and PHP things sometimes get missed so I am now in the habit of hitting control and space to invoke the code completion dialogue if/when it doesn't show. One of the glitches of WeBuilder is that when working with a preview window open, sometimes focus is robbed from the coding window as the preview refreshes and this kills code completion; control + space soon displays it so even though this could be a bug (and you can report it as such) at least this could be a workaround.
I was looking for it.
Thank you.
Post Reply