hclfmt - Format and prettify HCL files

  •        137

hclfmt is a command to format and prettify HCL files. It's similar to the popular gofmt command. Hook it with your favourite editor or use it from the command line.If no arguments are passed, it excepts the input from standard input.

https://github.com/fatih/hclfmt

Tags
Implementation
License
Platform

   




Related Projects

atom-beautify - :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github

  •    CoffeeScript

Atom-Beautify respects the core.telemetryConsent configuration option from Atom editor. If you do not wish to have usage data sent to Google Analytics then please set core.telemetryConsent to no or undecided option before using Atom-Beautify. See Anonymous Analytics section of docs for details. Thank you. Atom-Beautify is going to be completely rewritten with Unibeautify at its core! See unibeautify branch for work in progress and Issue #1174.

gpool - A golang resource pool which will support connection pool, buffer pool, goroutine pool

  •    Go

A golang pool which will support connection pool, buffer pool, goroutine pool. Help developers to use pool easily. Now gpool only support tcp connection pool. It will support other pools soon. And Thanks to https://github.com/fatih/pool, ideas comes from fatih.

stylish-haskell - Haskell code prettifier

  •    Haskell

A simple Haskell code prettifier. The goal is not to format all of the code in a file, since I find those kind of tools often "get in the way". However, manually cleaning up import statements etc. gets tedious very quickly. This tool tries to help where necessary without getting in the way.

hcl - HCL is the HashiCorp configuration language.

  •    Go

HCL (HashiCorp Configuration Language) is a configuration language built by HashiCorp. The goal of HCL is to build a structured configuration language that is both human and machine friendly for use with command-line tools, but specifically targeted towards DevOps tools, servers, etc.HCL is also fully JSON compatible. That is, JSON can be used as completely valid input to a system expecting HCL. This helps makes systems interoperable with other systems.

vim-terraform - basic vim/terraform integration

  •    Vim

This plugin, along with others like it, is now maintained by the HashiVim organization, which is looking for additional maintainers and contributors. See the HashiVim home page for further information. This plugin adds a :Terraform command that runs terraform, with tab completion of subcommands. It also sets up *.tf, *.tfvars, and *.tfstate files to be highlighted as HCL, HCL, and JSON respectively.


XAML Formatter

  •    CSharp

XAML Formatter It beautifies the XAML.

eslint-formatter-pretty - Pretty ESLint formatter

  •    Javascript

In iTerm, Cmd+click the filename header to open the file in your editor.

typescript-formatter - Formatter of TypeScript code

  •    TypeScript

A TypeScript code formatter powered by TypeScript Compiler Service. If no files are specified on the command line but a TypeScript project file (tsconfig.json) exists, the list of files will be read from the project file.

neoformat - :sparkles: A (Neo)vim plugin for formatting code.

  •    Vim

A (Neo)vim plugin for formatting code. Neoformat uses a variety of formatters for many filetypes. Currently, Neoformat will run a formatter using the current buffer data, and on success it will update the current buffer with the formatted text. On a formatter failure, Neoformat will try the next formatter defined for the filetype.

Prettier - An opinionated code formatter.

  •    Javascript

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!

rufo - The Ruby Formatter - created by @asterite

  •    Ruby

Rufo is as an opinionated ruby formatter, intended to be used via the command line as a text-editor plugin, to autoformat files on save or on demand. Unlike the best known Ruby formatter RuboCop, Rufo offers little in the way of configuration. Like other language formatters such as gofmt, prettier, and autopep8, we strive to find a "one true format" for Ruby code, and make sure your code adheres to it, with zero config where possible.

go-set - Type-safe, zero-allocation sets for Go

  •    Go

Package set is a type-safe, zero-allocation port of the excellent package fatih/set. It contains sets for most of the basic types and you can generate sets for your own types with ease. In every subpackage Set is the main set structure that holds all the data and methods used to working with the set.

Xcode-formatter - Simple automatic code formatter for Xcode

  •    Shell

Simple automatic code formatter for Xcode

nyan-cat-formatter - Nyan Cat inspired RSpec formatter!

  •    Ruby

Nyan Cat inspired RSpec formatter!

Xaml Formatter for VS 2013

  •    

Xaml Formatter for VS 2013 is a fork of Xaml Markup Styler Visual Studio 2012 Extension repackaged for VS 2013 preview.

sh - A shell parser, formatter and interpreter (POSIX/Bash/mksh)

  •    Go

A shell parser, formatter and interpreter. Supports POSIX Shell, Bash and mksh. Requires Go 1.8 or later.shfmt formats shell programs. It can use tabs or any number of spaces to indent. See canonical.sh for a quick look at its default style.

FSharp.Formatting - F# tools for generating documentation (Markdown processor and F# code formatter)

  •    F#

The F# Formatting libraries (FSharp.CodeFormat.dll and FSharp.Markdown.dll) include an F# implementation of a Markdown parser and an F# code formatter that can be used to tokenize F# code and obtain information about tokens including tool-tips (as in Visual Studio and MonoDevelop) with type information. The library also comes with a sample that implements literate programming for F#.F# Formatting: Documentation tools provides more information about the library, how to contribute, etc. It also includes links to tutorials showing how to use the Markdown parser and F# code formatter.

Jedi Code Format

  •    Delphi

The Jedi Code Formatter is an open-source code formatter for the Borland Delphi Object-Pascal programming language. The formatter can standardise all aspects of Delphi Object Pascal and Delphi.NET source code formatting, including indentation, spacin

json-formatter - Angular directive for collapsible JSON in HTML

  •    Javascript

JSON Formatter is an AngularJS directive for rendering JSON objects in HTML with a collapsible navigation. You can use JSONFormatterConfig provider to configure JOSN Formatter.

black - The uncompromising Python code formatter

  •    Python

Black is the uncompromising Python code formatter. By using it, you agree to cease control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters. Blackened code looks the same regardless of the project you're reading. Formatting becomes transparent after a while and you can focus on the content instead.