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

SC-f2e-snippets

fanghaydn

|
553 installs
| (1) | Free
souche f2e snippet (RN/Vue)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

Installation

Get it here vscode Extensions Marketplace

Shortcuts

Shortcut Snippet
ctrl+shift+l insert console.log('----->', ${1});
ctrl+shift+w insert console.warn('----->', ${1});

Javascript snippets

Prefix Snippet
conlog insert console.log('----->', ${1});
conlwarn insert console.warn('----->', ${1});

Vue snippets

Prefix Snippet
vuebase add vue page codes
vdata add vue data props
vmethod vue method props
vwatch vue watch props
vcomputed vue computed props
vcreated lifecycle method
vbeforemount lifecycle method
vmounted lifecycle method
vbeforeupdate lifecycle method
vupdated lifecycle method
vbeforedestroy lifecycle method
vdestroyed lifecycle method

ReactNative snippets

Prefix Snippet
rncomp add component codes
autoad add scrollview props automaticallyAdjustContentInsets
shouldcomp shouldComponentUpdate
willmount componentWillMount
willunmount componentWillUnmount
willrece componentWillReceiveProps
runafter InteractionManager.runAfterInteractions
rnstyle react-native StyleSheet

SRN snippets

Prefix Snippet
rnpage add SRNPage codes
rnstore add SRNStore codes
fetch add SRNFetch codes

Config (optional)

  1. open setting(cmd + ,)
  2. add config "editor.snippetSuggestions": "top" in settings.json file

You can enable tab completion (recommended) by opening Code > Preferences > Settings (on a Mac) and applying "editor.tabCompletion": "onlySnippets" to your personal settings

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