JavaScript Tutorial: Run JavaScript in Sublime Text with a NodeJS Build System




In this JavaScript Tutorial, we will be learning how to create a JavaScript build system within Sublime Text. This will allow us to run JavaScript code outside of a browser environment and write messages to the Sublime Text console. Let’s get started.

✅ Support My Channel Through Patreon:
https://www.patreon.com/coreyms

✅ Become a Channel Member:
https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey’s Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website – http://coreyms.com/
My Second Channel – https://www.youtube.com/c/coreymschafer
Facebook – https://www.facebook.com/CoreyMSchafer
Twitter – https://twitter.com/CoreyMSchafer
Instagram – https://www.instagram.com/coreymschafer/

Original source


20 responses to “JavaScript Tutorial: Run JavaScript in Sublime Text with a NodeJS Build System”

  1. These are steps for a Windows 10 Home:
    1. Download sublime text https://www.sublimetext.com/3 (it usually shows which one you need by black dot)
    2. Download node.js at https://nodejs.org/en/ (Recommended for most users)
    3. go to Tools > Build System > New Build System
    4. save as Javascript in the “User” directory inside Sublime Text settings folder

    {
    "cmd": ["C:/Program Files/nodejs/node.exe", "$file"],
    "selector": "source.js"
    }5.to check it, follow the last paragraph of this article from
    Time for fun part. Create and save…..
    GOOD LUCK!

Leave a Reply