← All extensions

Gleam Snippets

v0.1.0 · by Eduardo Juliao · added 3 November 2026

Gleam snippets for Zed IDE. A collection of Gleam snippets to improve your development speed.

Snippets

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for Gleam Snippets. The extension's id is gleam-snippets.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

Gleam Snippets for Zed IDE

A collection of Gleam snippets for the Zed IDE that you might be used to from other editors.

Features

This extension provides a comprehensive set of snippets for Gleam development, including:

  • Package and import declarations
  • case and use expressions
  • let and const assignment expressions
  • Public, private, test and anonymous function declarations
  • Type declarations
  • Pipes
  • And much more!

Installation

Method 1

  1. Go to Extensions menu in Zed IDE
  2. Search for "gleam-snippets"
  3. Click "Install"

Method 2

  1. Clone this repo:
git clone https://github.com/BlueBlizzardd/gleam-zed-snippets
  1. Go to Extensions menu in Zed IDE
  2. Click "Install Dev Extension"
  3. Select the folder you cloned

Usage

Start typing the snippet prefix in a Gleam file and press Tab to expand the snippet.

Available Snippets

PrefixDescription
pub / pub fnPublic function
fnPrivate function
testTest function
afAnonymous function
letLet assignment
letaLet assert assignment
constConst assignment
pub / pub constPublic const assignment
useuse expression
casecase expression
typeType declaration
pty / pub typePublic type declaration
pexfn / pub external / pub external fnPublic external function declaration
imImport
im.Import unqualified
p / |>Pipe
#Tuple
blBlock
seq / shouldShould equal
strue / should / should.bShould be true
sfalse / should / should.bShould be true

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Author

Eduardo Juliao - ejuliao9@gmail.com

Repository

https://github.com/BlueBlizzardd/gleam-zed-snippets