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

NG Stack snippets

Kristijan

|
77 installs
| (0) | Free
Code snippets for Netgen FE stack
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NG Stack Snippets

This extension provides useful code snippets for Netgen stack.

List of twig snippets

trigger snippet
rf {{ ng_render_field(content.fields.$1) }}
mcf {{ content_fields.$1($2) }}
cfd {{ content.fields.$1.value.value | date('j M Y') }}
sinfo {% set site_info = ngsite.siteInfoContent %}
metadata {% set meta_data = {'description': content.fields.$3.value.xml.saveXML() striptags trim truncate(152)} %}
d {{ dump($1) }}
d% {% dump($1) %}

List of scss snippets

trigger snippet
m-ic @include icon-color($1)
m-mbd @include media-breakpoint-down($1) {$2}
m-mbu @include media-breakpoint-up($1) {$2}

Enjoy!

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