Spunk Autos

Websites and web tools

VS Code Extensions: A Roundup by Category

This roundup is laid out like a newsletter issue, with short items by theme. It does not rank named extensions or report download counts. Instead it covers the categories worth having when you edit a small business website in VS Code, how to share a project's setup, and how to vet any extension before trusting it with your files.

Item 1: formatting

A formatter rewrites code into a consistent style every time you save. On a site edited by more than one person, it ends arguments about spacing and makes Git diffs show real changes only. Turn on format-on-save in settings and commit the formatter's configuration file with the project.

Item 2: linting

A linter flags likely mistakes as you type, such as an unused variable in a booking script or a CSS property with a typo. Choose the linter your project's language community uses most widely, and run the same checks in your build so they do not depend on each person's editor.

Item 3: HTML and accessibility hints

Extensions in this category warn about missing alt text, wrong heading order and unlabelled form fields. They do not replace testing with a keyboard and a screen reader, but they catch the easy problems on service pages and contact forms before they ship.

Item 4: live preview

A local preview server reloads the page when you save. For a static shop site, this is often all the tooling you need. Check that it binds only to your own machine, not to every device on the network.

Item 5: EditorConfig support

EditorConfig is a small file format that sets indentation and line endings for a project across editors. VS Code needs an extension to read it. It is a low-effort way to keep files consistent when one person uses a different editor.

Sharing a project's setup

Add a .vscode/extensions.json file listing recommended extension IDs. When someone opens the folder, VS Code offers to install them. Workspace settings in .vscode/settings.json can set format-on-save and the default formatter for that project only.

Safety: vetting an extension

Extensions run with the same permissions as your user account. A malicious or compromised one can read files, including any keys or passwords stored in the project folder.

CheckWhat to look for
PublisherA verified publisher or a known open-source project
Source codeA public repository you can inspect
Recent activityReleases and replies to issues within the last year
Permissions and behaviourNo unexplained network access or telemetry you cannot turn off
NameNot a near-copy of a popular extension's name

Housekeeping for this issue

  1. Open the Extensions view and list what is installed.
  2. Uninstall anything you have not used in months.
  3. Disable heavy extensions per workspace instead of globally.
  4. Turn on Workspace Trust so unfamiliar folders open in restricted mode.
  5. Keep secrets in environment files excluded from Git, not in settings files.

Fewer, well-chosen extensions make the editor start faster and leave fewer things that can break after an update.