Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>useful snippetsNew to Visual Studio Code? Get it now.
useful snippets

useful snippets

Carne

|
94 installs
| (0) | Free
Useful snippets for Javascript and Json
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Useful-snippets

This extension adds 7 snippets USEFUL in json and javascript.

Tutorial

Snppets exemple

Supported languages (file extensions)

  • Javascript
  • Json

Snippets

Prefix Method
clg→ console.log(object)
array→ let name = [elementOneName, elementTwoName]
objr→ let object_name = {element_name: {element_name: "content"},}
objs→ let object_name = {element_name: "content",}
obje→ element_name: "content",
objt→ let test = {toto: {"age: 10, parent_number: 2, soeur: 1, soeur_name: "lili", type: "enfant",}}
react-state→ constructor(props) {super(props) this.state = {element_name: element_content,}}

Release Notes

0.0.1

7 Useful snippets !

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft