eclipse / openvsx

An open-source registry for VS Code extensions
https://open-vsx.org/
Eclipse Public License 2.0
1.26k stars 142 forks source link

Document the valid characters in a namespace #865

Open kineticsquid opened 8 months ago

kineticsquid commented 8 months ago

The valid characters for a namespace are currently documented only in the source code. Suggest adding the following sentence to this wiki page: https://github.com/eclipse/openvsx/wiki/Namespace-Access

Valid namespace names are represented with the regex [\w\-\+\$~]+. This translates to the letters 'a' - 'z', 'A' - 'Z'; numbers '0' - '9'; and the characters '_', '-', '+', '$' and '~'.

I think it should go after this sentence:

The publisher field in the package.json of VS Code extensions defines a namespace in which the extension is published.