Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Toggle AsyncNew to Visual Studio Code? Get it now.
Toggle Async

Toggle Async

dandoozan

|
1,227 installs
| (0) | Free
Toggle "async" on functions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Toggle Async

Toggle "async" on functions.

Demo

All function types are supported: function declarations, function expressions, arrow functions, methods, etc.

How to use

  1. Place your cursor anywhere in a function
  2. Press ctrl-alt-a (Mac: cmd-alt-a)
  3. Your function is now async!

Supported languages

  • JavaScript
  • TypeScript

Commands

  • toggle-async.toggleAsync: Toggle "async" on a function
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft