Questions tagged [formatter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
0answers
10 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" "Monday, December 6" = "December 6" "...
0
votes
0answers
14 views

Is there a general, command-line “hyphenator” for plaintext documents/strings?

I'm trying to turn a plaintext string like this: This is a long example sentence. Okay, it wasn't too long, but here is another one. And also another one. into this: This is a long example sentence....
0
votes
0answers
11 views

Editor that can format bash script

I have bash scripts from AOSP build log which is very long single line and combine numerous commands with (...) && (...) ... && (...) and each command can be complex script that ...
0
votes
0answers
7 views

Convert multiple URLs to formatted citations

I have several hundred bare URLs saved in a text file, and I want to convert these into formatted citations like those in Wikipedia, but I could only find several online tools that formats a single ...
0
votes
0answers
54 views

What Python formatter should I choose for VSCodium (an open source Visual Studio Code substitute)?

Features I want: Most important: It does not create new pep8 errors. It correctly fixes as many pep8 errors as possible. It does not break the program. other: It fixes readability problems. ...
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
42 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
24 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
11 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, ...