go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Turn On JavaScript Content Assist
 
Subject: Turn On JavaScript Content Assist
Author: Alex_Raj
In response to: Create web project by WTP
Posted on: 08/07/2019 12:41:25 AM

While coding JavaScript, you would like the code assistance same way as in Java.

<html>
<body>

<script type="text/javascript">

window.???

</script>

</body>
</html>


Here, a list of available functions should automatically pop-up after your typing window.. To achieve that, you need to enable it; otherwise you have to 'Ctrl+Space' to trigger it.

How to activate it?

  • Go to Window > Preferences > JavaScript > Editor > Content Assist > Auto-Activation
  • Check Enable auto activation
  • Press OK


    Note: JavaScript Content Assist seems not to function starting from v4.6 Neon:

    Luna 4.4 (ok) --> Mars 4.5 (ok) --> Neon 4.6 (ko) --> Oxygen 4.7 (ko) --> Photon 4.8 (ko)


     

    > On 08/06/2019 01:01:54 AM Alex_Raj wrote:

    To create a new Dynamic Web Project called HelloWTP:
  • Select File > New > OtherÂ…​ > Web Dynamic Web Project
  • Type "HelloWTP" for Project name:
  • Select "Apache Tomcat v7.0" for Target runtime
  • Check Generate web.xml deployment descriptor
  • Press the Finish button.

    Note: An additional folder named Servers should appear along with the project folder HelloWTP






    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.