Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>GrantMilesCodeSnippetsNew to Visual Studio Code? Get it now.
GrantMilesCodeSnippets

GrantMilesCodeSnippets

Grant Miles

|
26 installs
| (0) | Free
A collection of useful code snippets to boost productivity
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Snippets for Increased Productivity

This extension houses a collection of useful snippets. To request a new snippet raise an issue or become a contributer!

Async Xunit Testing

Add a xunit test by typing any of these prefixes "prefix": ["new-xunit", "xunit-test"] and you will see the following code block with tabstops to each area of the signature.

namespace MyTestNamespace
{
    using Xunit;
    using Moq;
    public class MyTestClass
    {
        public WhatYouAreTesting_WhatYouAreDoing_WhatYouExpectToHappen()
        {
            // Arrange
            
            // Act
            
            // Assert
            
        }
    }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft