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

Rubber Duck Snippets

dirmina

|
119 installs
| (0) | Free
log is life, so we need snippets !
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rubber Duck Snippets

Some useful snippets for Javascript or React users. Dont forget to greets the 🦆duck🦆 ! Use TAB to navigate through snippet's placeholders.

Snippets

  • logJSONSTR - Log the JSON of a JS Object
  • knexToSQL - Log a SQL query instead of a knex builder
  • LogDiv, LogSep - Log a separator for the blind duck 🦆🦆
  • reactFcDefault - Create a functional component that is exported as default.
  • reactFcObject - Create a functional component that is exported as an Object.

Requirements

  • Visual Studio Code v1.95.0 or later

Known Issues

My doctor told me to not talk about it 🤡

Release Notes

[v1.1.1] - [11.01.2025]

Changed

-allow snippets to be triggered in jsx files.

[v1.1.0] - [11.01.2025]

Added

Snippet prefix Description
reactFcDefault Create a functional component that is exported as default
reactFcObject create a functional component that is exported as an Object

Changed

  • Change snippets' bodies by adding placeholders
  • change the extension's name (Rubber Duck Log -> Rubber Duck Snippets)
  • Rewrite the existing snippets' description

[v1.0.0] - [04.05.2022]

Added

Snippet prefix Description
logJSONSTR Log the JSON of a JS Object
knexToSQL Log a SQL query instead of a knex builder
LogDiv and LogSep Log a separator for the blind duck 🦆🦆
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft