| Marketplace
Sign in
Visual Studio Code>Snippets>Fast ArrowNew to Visual Studio Code? Get it now.

Fast Arrow

Vincent Liao

|
196 installs
| (1) | Free
Write arrow function in less than 1 second
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

About

This is a VSCode snippets that lets you write arrow function in less than 1 seconds. Writing () => {} takes 8 keyboard presses, now you can do it in 2. Just type in fa and press Enter/Tab and you get your arrow function!

Available snippets

fa

This stands for fast arrow and it will turn to

() => {
  YOUR_CURSOR_HERE
}

faa

This stands for fast arrow args and it will turn to

(YOUR_CURSOR_HERE) => {

}

fai

This stands for fast arrow inline and it will turn to

() => {}YOUR_CURSOR_HERE

far

This stands for fast arrow response and it will turn to

response => {
  YOUR_CURSOR_HERE
}

Here's a simple example of writing an arrow function Image 1 Image 2

Installation

You can find this inside your VSCode's marketplace. Search for the name "fast arrow"

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft