Issue #29 (Emmet Completions and Settings)11/09/22
|
Get a weekly dose of tools, articles, and other resources covering remote work, productivity, career well-being, and lots more.
|
|
|
As most of you likely know, Emmet is a sort of language toolkit for your code editor that works much like a text expander. Visual Studio code has been including Emmet shortcuts in the editor by default for quite some time now.
As an example, you can expand a full basic HTML template by simply typing an exclamation point (!) and hitting ENTER inside of an HTML file.
You can also quickly expand custom HTML with class names, IDs, and more just with a few keystrokes (e.g.
ul.list>li*10 becomes an unordered list of 10 items with a class of "list" on the parent).
The default settings for Emmet shortcuts are probably what you want, but you can search for "Emmet" in your editor's Settings to make any adjustments to the way Emmet behaves.
For example, you can choose to use the TAB key instead of ENTER to complete an Emmet command and you can choose to view the Emmet completions inline as you're typing the command.
There are about a dozen different settings that you can change related to Emmet.
If you're not familiar with Emmet beyond the basics, you might want to check out
this extensive cheatsheet for tips on lots of things you can do.
Now on to this week's hand-picked links!