mathlib
49ba33e5 - feat(vscode): add a snippet for inserting a module docstring template (#11312)

Commit
4 years ago
feat(vscode): add a snippet for inserting a module docstring template (#11312) We already have a vscode snippet for adding copyright headers, this PR adds a similar one to generate a default module docstring with many of the common sections stubbed out. By default it takes the filename, converts underscores to spaces and capitalizes each word to create the title, as this seems a sensible default. But otherwise all text is a static default example following the documentation style page to make it easier to remember the various recommended secitons. To test do `ctrl+shift+p` to open the command pallette, type insert snippet, enter, and type module and it should show up. See also #3186
Author
Parents
Loading