Visual Studio Code has taken the crown of most used text editor, at least in JavaScript spheres. VSCode is fast, feature-filled, and supports thousands of plugins to boost productivity. Developers can also tweak hundreds of settings to enrich functionality. One such feature is the autoSave feature.
To autoSave files with VS Code, you can add the following to your text editor config:
{ "files.autoSave": "afterDelay", "files.autoSaveDelay": 200 }
Just about every Operating System and web action is instant these days, so eliminating the need for manual save just makes sense. Big thanks to my old MooTools colleague Chris Nakazawa for calling this out!
Create Namespaced Classes with MooTools
MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does. Many developers create their classes as globals which is generally frowned up. I mostly disagree with that stance, but each to their own. In any event…
iPhone Click Effect Using MooTools or jQuery
One thing I love about love about Safari on the iPhone is that Safari provides a darkened background effect when you click a link. It’s the most subtle of details but just enforces than an action is taking place. So why not implement that…
Create Custom Events in MooTools 1.2
Javascript has a number of native events like “mouseover,” “mouseout”, “click”, and so on. What if you want to create your own events though? Creating events using MooTools is as easy as it gets. The MooTools JavaScript What’s great about creating custom events in MooTools is…