The ASN Plus Extension Pack provides essential tools and configuration for firmware development at ASN Plus. It includes a pre-configured .clang-format file to ensure consistent C/C++ code style across your projects.
Features
Automatic Clang-Format Setup
On first activation, the extension copies a standardized .clang-format file into your workspace root if one does not already exist.
Manual Command
Use the Copy Clang-Format File command from the Command Palette to manually copy the .clang-format file at any time.
Snippet for file comment creation
Use doxifile name to use the provided snippet
On opening a workspace, the extension will automatically copy the .clang-format file if it does not exist.
To manually copy or overwrite the .clang-format file, open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P), search for Copy Clang-Format File, and run the command.
Development
Watch for changes:
npm run watch
Run tests:
npm test
Debug:
Press F5 in VS Code to launch a new Extension Development Host.
Publish
You can publish new version of the extension on this site.