Questions tagged [formatter]
The formatter tag has no usage guidance.
12
questions
0
votes
1
answer
15
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 ...
0
votes
0
answers
7
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 ...
0
votes
1
answer
50
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, ...
1
vote
0
answers
21
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"
"...
1
vote
0
answers
38
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, ...
2
votes
0
answers
36
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 ...
0
votes
1
answer
513
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 ...
1
vote
0
answers
22
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:
...
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 ...
0
votes
2
answers
47
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 ...
1
vote
1
answer
36
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-...
1
vote
0
answers
12
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, ...