Top "Code-formatting" questions

Code formatting is the way to format the source code of programs,using spaces and tabs, improving legibility of source code.

Is it possible to autoformat / beautify SQL queries using pgAdmin4?

I would like to autoformat / beautify my SQL-queries directly in pgAdmin4. I know this feature from Java-developing in Eclipse, where …

postgresql code-formatting pgadmin-4
Is there a Haskell code formatter?

I used to write data A = A { a :: Double } deriving(Eq, Show) but now i prefer data A = A { a :: …

haskell code-formatting
How to change Visual Studio 2012 Razor colors

I would like to change the yellow background color of the Razor tags in VS12.

razor visual-studio-2012 code-formatting
Eclipse formatter settings for the Builder pattern

I'm extremely frustrated with the Eclipse formatting rules for a series of qualified invocations (i.e., the Builder pattern style). …

java eclipse code-formatting
EditorConfig vs. Eslint vs. Prettier: Is it worthwhile to use them all?

I am trying to set up some tools to help maintain consistency in a codebase used by multiple developers. Is …

formatting eslint code-formatting editorconfig prettier
How Do I Run Prettier Only on Files That I Want to Commit?

Using Husky, I've set up my package.json with a precommit hook so that my JavaScript code is formatted using …

javascript git code-formatting pre-commit-hook prettier
Black formatter - Ignore specific multi-line code

I would like to ignore a specific multi-line code by black python formatter. Particularly, this is used for np.array …

python code-formatting python-black
Custom indent width for BeautifulSoup .prettify()

Is there any way to define custom indent width for .prettify() function? From what I can get from it's source …

python beautifulsoup indentation code-formatting pretty-print
AStyle for Google C++ style guide

I just started using Astyle with VS-2013 for C++. I want to configure it to follow the Google C++ style …

c++ visual-studio code-formatting astyle google-style-guide
ReSharper formatting: align equal operands

Note to Googlers, this question is somewhat out of date as the requested feature is now supported in the current …

c# resharper code-formatting