Skip to content

ankddev/vscode-gleam-snippets

Repository files navigation

gleam-snippets for VS Code

Some useful snippets for Gleam.

Features

Snippets list

All snippets here in prefix(-es) - title - description format.

  • helloworld - Hello, world - Basic Hello world program
  • import or importas - import .. as .. - Import with alias
  • import or importfrom - import from - Add unqualified import
  • import or importtypefrom - import type from - Add unqualified import of type
  • pub type - public type alias - Alias for type (public)
  • type - type alias - Alias for type (private)
  • debug - debug - Print value to terminal using io.debug
  • func or function or fn - function - Function
  • func or functionreturn or fn - function with return type - Function with return type
  • func or function or fn or pub fn - public function - Public function
  • func or functionreturn or fn or pub fn - public function with return type - Public function withh return type
  • fn or anfn - anonymous function - Anonymous function
  • generic or fn or func or function - Function with generic argument
  • labeled or fn or func or function - labeled function parameters - Function with labeled parameters
  • labeled or fn or func or function - labeled function parameters with return type - Function with labeled parameters with return type
  • depr or deprecated or @ - deprecated - Mark definition as deprecated
  • case - case - Simple case construction
  • tuple or #( - tuple - Tuple value construction
  • external or @ - external - External mark for functions
  • panic - panic with reason - Call panic with reason
  • todo - todo with reason - TODO mark with reason
  • type or pub type - custom type - Custom type declaration
  • type or pub type - custom type with record - Custom type declaration with record
  • type or pub type - custom type with generic - Custom type declaration with generic argument

Release Notes

Users appreciate release notes as you update your extension.

1.0.0

Initial release of extension

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy