Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to program Javascript using Eclipse

📅 2014-Jun-26 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ eclipse, javascript ⬩ 📚 Archive

Eclipse can be used as an IDE for Javascript programming. This is useful if you like to have autocompletion and syntax highlighting when you are editing or reading Javascript code.

function add_numbers(a, b) {
    return a + b;
}

alert("2 + 3 => " + add_numbers(2, 3));
<html>
    <body>
        <script type="text/javascript" src="index.js"></script>
    </body>
</html>

Tried with: Eclipse 3.8.1 and Ubuntu 14.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧