wingyplus

wingyplus

Hi,

During learn surface and try elixir v1.13 features, I created a tool called surface_formatter_plugin. It’s a tool built on top of surface_formatter and Elixir v1.13 formatted plugin. This tool can format only code inside ~F sigil and .sface file extension.

The installation is just add {:surface_formatter_plugin, "~> 0.1"} to your mix dependencies block. And then run mix deps.get and mix deps.compile to make the plugin presents under deps directory. After that, just call mix format to format your code.

Since Elixir v1.13 is in development, the library set minimum elixir version to 1.13-dev. So, it needs to compile Elixir from master branch. :bowing_man:

Suggestion are welcome. :slight_smile:

Showing Posts 1 to 2

wingyplus

wingyplus OP

Hi all,

I just want to say that the library repository is now archived because surface_formatter version 0.7.0 is now supporting the formatter plugin!!!

Thanks to @paulstatezny who spending an effort. :slight_smile:

paulstatezny

paulstatezny

I just wanted to drop in and say thanks @wingyplus , and that the last couple SurfaceFormatter releases include a formatter plug-in. :slight_smile: (See the docs.)

Also, starting in the next version of Surface, the formatter and formatter plug-in will come bundled with Surface itself.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
New
GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
ahamez
Hi everyone, I’ve been working on this protobuf library for 3 years. We use it in the company I work for, EasyMile, to communicate with ...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
kip
I’ll shortly be launching Text, a nascent text analysis library. Current functionality In this early version (not ready for prime time) ...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
CodeSync
:microphone: ElixirConf 2026 - Call for Talks is open! We’re heading to Chicago :united_states: :round_pushpin: In person + virtual :d...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews