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.
A few months ago I changed my editor setup to autosave code as I type. Every app works that way, code editors should too.
— Christoph Nakazawa (@cpojer) October 18, 2023
I recently had to disable it briefly. Feels so backwards to explicitly press Save via cmd+s.
Here is how you can change VS Code to auto save: pic.twitter.com/qmjUBXNX35
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!
5 HTML5 APIs You Didn’t Know Existed
When you say or read “HTML5”, you half expect exotic dancers and unicorns to walk into the room to the tune of “I’m Sexy and I Know It.” Can you blame us though? We watched the fundamental APIs stagnate for so long that a basic feature…
HTML5’s window.postMessage API
One of the little known HTML5 APIs is the window.postMessage API.
window.postMessage
allows for sending data messages between two windows/frames across domains. Essentially window.postMessage acts as cross-domain AJAX without the server shims. Let’s take a look at howwindow.postMessage
works and how you…
[ad_2]
Source link