Questions tagged [formatter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
18 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
0answers
36 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, ...
0
votes
0answers
14 views

Uncompromising, verifiable code formatter for C# other than dotnet format that leads to the same formatted code independent of IDE used

There is the .NET tool "dotnet-format" that allows formatting a C# code in a somehow unified way. This works fine for some cases. However, especially when a code base is edited and ...
2
votes
0answers
30 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
1answer
117 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
0answers
14 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
0answers
6 views

Is there Flake8 plugin to detect mergable if-statements?

I want to detect (and potentially correct) the following pattern: # Bad if condition1: if condition2: code # Should be transformed to: if condition1 and condition2: code Is there a ...
0
votes
1answer
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
2answers
44 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
1answer
25 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
0answers
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, ...