WeBuilder autocomplete javascript file

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
beDEV
Posts: 3
Joined: Mon Jan 27, 2014 1:35 pm

WeBuilder autocomplete javascript file

Post by beDEV »

Hello!
i created one html file and one javascript file
in the js file i have method takeOne.
now when i go back to the html file and try to call this function i cant see it in the autocomplete box(when i pressed ctrl+space),
so is there a way to autocomplete methods that in javascript file from the html file?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: WeBuilder autocomplete javascript file

Post by Aivars »

I don't think external script files are parsed in real-time. If you want full autocomplete use projects - create a new project and specify its library path(s).
Blumentals Software Programmer
beDEV
Posts: 3
Joined: Mon Jan 27, 2014 1:35 pm

Re: WeBuilder autocomplete javascript file

Post by beDEV »

I done it - i created a project and specify its library path and it still not
showing the method in autocomplete - how can i fixed it?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: WeBuilder autocomplete javascript file

Post by Aivars »

Try this: Open project settings (Edit current project) -> Library paths -> Refresh library data
Blumentals Software Programmer
beDEV
Posts: 3
Joined: Mon Jan 27, 2014 1:35 pm

Re: WeBuilder autocomplete javascript file

Post by beDEV »

thanks, i had to refresh the library and then close the program and reopen it.
Post Reply