Questions tagged [formatter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
45 views

Format HTML file(s) from the command line

I want to format HTML source files from the command line, one file at a time or in bulk. Tool requirements Should be installable on Windows, Linux, and macOS. Must be capable of formatting in place, ...
Henke's user avatar
  • 141
0 votes
0 answers
22 views

Compiling C into optimised C

I am trying to debug generated C code, which is of course hard to read. clang-format helps, but there is a lot of dead code injected by the compiler. Is there a program like clang-format that can also ...
thomas93459954's user avatar
4 votes
2 answers
1k views

Command line SQL formatter or beautifier

I am looking for a command line SQL formatter = SQL prettifier = SQL beautifier (offline, not an online formatter) for Mac. The goal is to run it on the command line and also inside the editor (Emacs) ...
Timur Shtatland's user avatar
1 vote
1 answer
211 views

Linux CLI tool for auto-formatting (pretty printing) large SQL files

I've got a large (3 GB) SQL file that came from a SQL dump. Reading it is impossible because it's formatted poorly. For example each table has a giant INSERT statement that is indecipherable. Is ...
Freedom_Ben's user avatar
0 votes
1 answer
39 views

How can I revert yoda conditions with a PHP formatter in VS Code?

So a long time ago I accidentally used a formatter that switched all my conditions to yoda and I only noticed the damage too late. Going back in time with the file history/git is not an option so I ...
Firsh - justifiedgrid.com's user avatar
0 votes
1 answer
72 views

Simple Text Editor in Linux with Conditional Formatting

I am looking for a simple Text Editor on Linux (Arch, preferrably) with conditional formatting. I have noted this question. I am not looking for a syntax highlighter. I need conditional formatting, ...
Sean's user avatar
  • 121
1 vote
0 answers
22 views

Detect whether two dates expressed in a text are the same

I'm looking for a program or library that can detect whether two dates expressed in a text are the same. For example: "Dec. 2012" = "December 2012" = "2012-12" "...
Franck Dernoncourt's user avatar
1 vote
0 answers
42 views

Word processing software or other text-based tool that can "find" text with complex formatting

Follow up to my question here, I'm looking for word processing software or other text-based tool that can "find" text with complex (ie. formats not applied to the entire string) formatting, ...
jordanpg's user avatar
  • 111
2 votes
0 answers
38 views

Minimalistic Java Code Formatter / Formatting Tool To ONLY fix certain aspects (eg whitespace in expressions)

Java code formatters that I'm aware of (eclipse JDT, intellij, astyle, prettier) are all quite aggressive and try to change all the code format aspects that they are technically capable of. However, I ...
Andreas Meyer's user avatar
2 votes
1 answer
2k views

SPARQL query formatter

Sometimes SPARQL code appears in URLs, as long query strings, and then it is basically a very long one-liner, often URL-encoded. Or the SPARQL contains a lot of UNIONs which have linebreaks located at ...
knb's user avatar
  • 2,691
1 vote
0 answers
47 views

Markdown formatter that converts inline links to reference-style links

I would like to find a CLI utility that replaces the inline links of a markdown file to reference-style links, a la this example. On this website, I found a pandoc command that does something similar: ...
uselesslefteyelid's user avatar
0 votes
1 answer
13 views

C++ ostreams implemented over C fprintf()

I'm looking for a library offering an std::ostream implemented on top of something other than the operating system's calls. It should be implemented either using C-style printf() commands, or ...
einpoklum's user avatar
  • 3,131
0 votes
2 answers
53 views

Recursively print all code files in a directory into a single clean PDF file

Is there any software for Windows which will crawl through a directory and subdirectories and print all the source code files it finds into a single document, preferably indexed? For example I have a ...
Lars Ericson's user avatar
1 vote
1 answer
52 views

Command line tool to convert date format

I have a text file (Markdown, actually, but close enough) with dates in a slightly annoying US format %m/%d/%Y. I'd like it to be in ISO-8601 format everywhere throughout. I could easily write a 5-...
David Mertz's user avatar
1 vote
0 answers
13 views

ESLint and/or Prettier plugin that will format javascript and JSX arguments on new lines.

I'm looking for an ESLint or Prettier plugin that is going to format my React code in the following way: Javascript Single, or double function calls, and function declarations are on single lines, ...
dwjohnston's user avatar