ADCode

Start new files from a template

A brand new file already has the boring first lines in it - the doctype for a web page, the main function for a C program.

When you would want it

Nobody remembers the exact opening lines of every language, and looking them up is the least interesting part of starting something.

Where to find it

  • All Features → Start new files from a template
  • Settings → adcode.editing.fileTemplates

How to use it, step by step

On by default.

  1. Make a new file with a known extension and the boilerplate is there.
  2. Press Ctrl+Z once if you would rather start empty.

Why this beats the usual way

Other editors give you this through a stack of extensions that each need installing, updating, and reconciling with each other - and half of them reset when a colleague opens the project. ADCode ships these behaviours in the box, on by default, identical on every machine that opens your folder, and each one is a single switch away if you disagree.

Find it in Universal Search

Start new files from a template · Editing