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?
No JavaScript Code Completion?
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
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;
Re: No JavaScript Code Completion?
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 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.
Re: No JavaScript Code Completion?
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.
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.
Re: No JavaScript Code Completion?
I was looking for it.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.
Thank you.