Visual Studio Code extension name requirements
A Microsoft engineer explains,
Extension names may only contain
A
throughZ
,a
throughz
,0
through9
and-
. The extension name must start with an alphabetic or numeric character.Publisher names have the same validation rules.
There’s no record of where the inner quote came from.
(Clarification: the name is distinct from the “display name,” which is shown in most places.)
The Visual Studio Code Extension Manager checks these requirements with this regular expression:
const nameRegex = /^[a-z0-9][a-z0-9\-]*$/i;
Extra keywords: vscode, extension name allowed characters, publisher name allowed characters, publisher ID allowed characters, format, regex, underscores are not allowed, vsce, extension gallery, Visual Studio Marketplace.
My last post was about either Why Firefox named that file 3870112724rsegmnoittet-es.sqlite or Updating dynamic DNS with addresses from your Gmail “Recent activity” list. Find out which.