Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>TS?X SnippetsNew to Visual Studio Code? Get it now.
TS?X Snippets

TS?X Snippets

Shelton Louis

|
188 installs
| (0) | Free
It's a set of modern TS and JS Snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TS-X-snippets

The creation of TS?X Snippets is to allow developers to write simple snippets for code that is written on a day-by-day basis. The snippets are created to be practical, generic and inclusive to java and typescript developers. You can use classes class Components and even use functions and functional Components.

All Snippets

Component Snippets

Keywords

Most of the snippets in this repo are created with some important keywords.

[Tip]: It's best to remember them when in doubt. Remember to type ts first if you are not getting good results.

  • as stands for async
  • aw stands for await
  • fn stands for function
  • c stands for console
  • n stands for named
  • af stands for arrow function
  • met stands for method
  • obj stands for object
  • im stands for import
  • ex stands for export
  • cl stands for class
  • cmp stands for component

Features

  • Has Component Snippets
  • Has Class Snippets
  • Has Function Snippets
  • Has Module Snippets
  • Has Console Log Snippets
  • Has Set Timeout and Interval Snippets

Requirements

You should be using typescript or javascript if you are using this extension. I will not support .mjs or .cjs. Use ESM for the sake of your sanity and mine.

Recommendations

Please use this extension with each of these other Extensions.

  • Pretty Typescript Errors
  • Total Typescript
  • For Angular Devs Angular Snippets
  • For Vue Devs Vue Snippets
  • For React Devs ES7+ React/Redux/React-Native Snippets
  • For Astro Devs Astro Snippets
  • For Solid Devs Solid Snippets
  • For Svelte Devs Svelte 3 Snippets
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft