Skip to content

Persooa/synerise-jinja-code-snippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

jinja-code-snippet

Installation

For instruction regarding snippet installation in Visual Studio Code please refer https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets In your snippet file paste code from jinjava.jsonc file

How to use it

  1. Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements. This snippet are global, so work with all language. You can use snippets in JavaScript, Jinjava Raw, HTML, CSS, or with any language choosen in VSC.

  2. To use snippets, click ctr+space, you’ll see the list:

image

  1. Each snippet has a description shown when you select it using arrows.

image

  1. When you’re familiar with snippet names, you can start entering snippet name, e.g. aggregate. VSC will show only snippets with text you just entered.

image

  1. To increase the comfort of work, some elements of code are highlighted and can be completed without the need to select text. To move from one placeholder to another use TAB

placeholder

  1. Check how in few seconds you can generate jinjava recommendations syntax:

recommendation snippet example

Documentation

Full documentation of jinjava inserts in Synerise available at https://hub.synerise.com/developers/inserts/

Author

Synerise.

If you need support please feel free to contact us via help desk portal at https://hgintelligence.atlassian.net/servicedesk/customer/portal/1 (for direct customers) or https://hgintelligence.atlassian.net/servicedesk/customer/portal/11 (for partners).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published