Official VS Code extension for Nestlang — the typed schema language for DivParser.
Features
Syntax highlighting — field names, descriptions, types and comments all distinctly colored
Intellisense — autocomplete all Nestlang types as you type
Hover documentation — hover over any type to see what it does and an example
Snippets — common schema templates for listings, detail pages, pagination and more
Auto-indentation — automatically indents after (array:object) and (object) declarations
Auto-closing — parentheses close automatically
Snippets
Prefix
Description
nsl-listing
Listing page schema
nsl-detail
Detail page schema
nsl-full
Full page schema with pagination
nsl-field
Single field
nsl-child
Child field
nsl-pagination
Pagination block
nsl-comment
Comment
Nestlang Syntax
# Schema for a product listing page
products: all products on the page (array:object)
-name: Product name (string)
-price: Product price (number)
-in_stock: Whether the product is available (boolean)
-images: Product image URLs (array:url)
-variants: Available variants (array:object)
-size: Size label (string)
-available: Whether this variant is in stock (boolean)
pagination: pagination info (object)
-current_page: Current page number (number)
-total_pages: Total number of pages (number)
-next_url: Next page URL (url)