5et Homebrew Snippets

January 9, 2026 ยท View on GitHub

Warning


This extension is currently deprecated. Please utilize revilowaldow's 5etools Language Server instead.


A handy extension to make Homebrewers' lifes easier.

Example video

Installation

Install the extension directly in VSCode through its Marketplace. Here is it's external link.

Alternatively, copy the extension into your VS Code extensions folder. The default location is %USERPROFILE%\.vscode\extensions


List of Snippets

Meta block

The meta block is essential for every homebrew content you make.

PrefixPurpose
metaFull basic _meta block.
unixDateThe number of seconds since the Unix epoch. Useful for updating dateModified.

Text entries

Different snippets for text entries, all found in the Renderer Demo.

PrefixPurpose
sectionSection entry, creates a "basement" level (-1)
entriesGeneral entry block
quoteQuote block
insetInset block
insetReadaloudInset block, but on blue color
listList with style options
itemItem used within lists
tableEntryTable block for text entries. Contains many optional fields
abilityDCCentered text with the format "Name = 8 + prof + mod"
abilityAttackModCentered text with the format "Name attack modifier = prof + mod"
abilityGenericCentered text with the format "Name = text mod"
imageExternal image link
statblockCreates an embed entry of the referenced data, used to prevent duplication. (Sub)class features require extra properties.

Class and Subclass

Be aware that these snippets are long and wordy with many optional parts, make sure you delete those that do not apply to the homebrew you are converting to prevent errors.

PrefixPurpose
classFull class skeleton
classFeatureSkeleton of class feature
classFeatureRefReference a class feature inside a class
subclassFull subclass skeleton
subclassFeatureSkeleton of subclass feature
subclassFeatureRefReference a subclass feature inside a subclass feature list, do not mistake with refSubclassFeature
refSubclassFeatureReference a subclass feature in the entries of a different subclass feature, used to create nested subclass features

General Categories

Snippets for

PrefixPurpose
actionFull action skeleton
backgroundFull background skeleton
boonFull boon skeleton
conditionFull condition skeleton
cultFull cult skeleton
deityFull deity skeleton. Most data is optional.
diseaseFull disease skeleton
featFull feat skeleton. Check the prerequisites structure.
hazardFull hazard skeleton
languageFull language skeleton. Most data is optional.
optionalFeatureFull optional feature skeleton. Check prerequisites structure.
raceFull race skeleton
variantRuleFull variant rule skeleton

Tag snippets

These snippets are better used with VSC's "Surround with snippet..." feature. Their purpose is to autocomplete {@ } tags, adding the different corresponding pipes | to each of them.

The full list can be seen in the /snippets/tags.json file.