Questions tagged [formatter]
A formatter may be any program or piece of program that modifies a file or input text so that it complies to a given format, or generate a text in a given format from input data. Examples include: formatting a date to a localized format; indent a source code; replace variables in a string with inputted values; etc.
formatter
896
questions
-1
votes
0
answers
9
views
Not fully working copy & paste in formatter's online playground on mobile devices [closed]
There seem to be an issue when using the website playground when using it on a mobile device thru a web browser.
The case is that after the pasted into input becomes formated, in the output the code ...
0
votes
0
answers
30
views
How to configure an external formatter in DBeaver Snap Linux?
I'm trying to configure an external formatter for SQL queries in DBeaver, but I'm encountering a "permission denied" error. I'm not very experienced with the command line and just started ...
0
votes
3
answers
39
views
Why does Tabulator give an error with data with "</script>" word?
Using Tabulator, if for example, I have data from a record with this value it works: '<button>Hello</button>' but if instead I put: '<script>Hello</script>' it breaks. The ...
0
votes
1
answer
26
views
Wrap autocompleted arguments on a new line in Flutter in VS Code
Is there a way, in VS Code, to make the autocompleted widget arguments go on a new line?
Bad:
Column(children: [])
Good:
Column(
children: []
)
I guess it has something to do with the dart_style'...
0
votes
0
answers
9
views
Use versioned Formatter, Inspections and Code Cleanup Configs in IntelliJ
I have configured an IntelliJ Formatter, Code Cleanup and Inspections Profile. I want to check in these profiles so my team members can use them. The problem is: They have to import these settings ...
-1
votes
0
answers
34
views
IntelliJ Code Clean Up destroys Eclipse Formatting
In our current project some devlopers work with Eclipse and some with IntelliJ. To get the same auto-formatting results I installed this plugin: https://plugins.jetbrains.com/plugin/6546-adapter-for-...
1
vote
1
answer
71
views
Pretty printing JSON in an HTML page
I have this string as JSON that I receive when making a request to a service. This is what I receive as plain text in jsonResponse :
"{\r\n \"OperationType\": \"SAVE_LINK\",\r\...
0
votes
0
answers
33
views
Using a custom formatter for defining logging output
Im working on a Logger for services with different elements.
My example for this:
public abstract class Service{
String name = "";
String uId = "";
int counter = 0;
...
0
votes
0
answers
12
views
How to format HTML files with tera template snippets?
Especially in VS Code.
There's Tera extension, but it not works now.
Once installed, I tried to use Ctrl + Shift + P but there's no relevant options.
I don't mind if any binary formatter works, thanks ...
0
votes
1
answer
191
views
ModuleNotFoundError: No module named 'argparse_formatter'
I feel like I am missing something incredibly simple, but I can't, for the life of me figure out what it is.
I am trying to run a Python3 script on a Windows box, and I get the error
...
1
vote
1
answer
51
views
vscode cpptools customize format rule for C language macro to keep definition on same line
I have C language code as bellow:
# define VAR(vartype, memclass) vartype
VAR(float32, AUTOMATIC) var1; // equal to "float32 var1;"
when I 'Format Document' in VSCODE, above VAR... ...
0
votes
1
answer
36
views
Is there a way to remove leading and trailing substrings without custom code?
Can you remove leading-and-lagging characters-and-substrings from a string without using RegEx-and/or-Custom-Code?
For example, I want to remove leading https:// and lagging / (backslashes).
I can ...
0
votes
0
answers
23
views
Is There A Way To Parse URIs At Scale Following A Standard Process?
Is there a proper and/or standard way to parse-build a URI together?
Say I have a project that has a lot of differing URIs and legacy-code that is not being allowed to be changed. I'm to both keep the ...
0
votes
0
answers
16
views
Using formatter in expression binding in javascript xml view
I have an xml view where I am using the built in currency formatter to format the TotalNetAmount :
<ObjectNumber id="idCurrencyStatus"
number="{parts:[{path:'...
2
votes
1
answer
2k
views
How do I use Poor Man's T-SQL Formatter in SSMS v20?
On installing SQL Server Management Studio v20, the menu items for Poor Man's T-SQL Formatter are gone.
Things worked fine in v18 after following the advice here: https://stackoverflow.com/a/72996345/...