Questions tagged [code-beautification]

Software that (or software that interacts with other software that) formats code using spaces and tabs, improving legibility of source code.

Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

Is there any software that can allow me to prettily make my (java) code a pdf, with std inputs and outputs?

I'm a high school student, and for my course I need to submit my code, its input and outputs as a pdf. We did this through JDoodle. However JDoodle simply wasn't that good with large files, say 100 ...
1
vote
1answer
9 views

Is there any code formatting tools that I can use with php/composer?

I want a library that can format my code: indentation, line breaks, how to open and close functions, spaces, etc. We have a team, 5 people, working on the same project, and while some really take ...
0
votes
0answers
10 views

Any IDE or plugins to visual formatting such as bg color or add tags to selected blocks of code?

I am having lots of code to reorganize. To bring all scattered code to a single place and organize them. It will be easy if I can able to add some tags to code or change something visually such as ...
0
votes
0answers
9 views

Generate a wrapper around an API with different casing

Different programs have different code styles: some might prefer camelCase, PascalCase or snake_case. If you are working in a business environment, you might already have set guides on how you should ...
0
votes
0answers
6 views

User-sophisticated code editor for Android

What I want is clear in title. I want a code editor with at least a way to put user syntax definitions, such as Sublime Text stack-based sublime-syntax, and maybe user color schemes and themes. ...
1
vote
2answers
35 views

web2py development editor with auto completion, indentation, easy navigation, try view for HTML layout

Which editor can be used with auto completion feature, indentation and easy navigation for web2py . And also with Default features web2py feature like try view for the html layout.
5
votes
0answers
142 views

Any linter for assembly?

Is there any linter that can reformat assembly. I see a lot of things that indicate people care a lot about this (which is to be expected). For example, from this tutorial But alas, I couldn't ...
4
votes
1answer
64 views

C clean-up software

I was given a big chunk of uncommented code (around 3k lines) that I need to port to another platform. After quite some time going trough this mess I have an idea of what it does. During this time I ...
1
vote
0answers
25 views

Open-source code style checker/beautifier for Linux

I'm looking for a tool that would check and fix programming-code style/formatting, work (at least) with PHP, JavaScript, HTML and CSS, be available for Linux and open source. Ideally it should be as ...
1
vote
0answers
19 views

In centos-7, are there any reformatters for Python language?

In the centos-7 base and epel RPM repos, are there any reformatters for the Python language? By "reformatter" I mean something that is like clang-format where the code stays functionally the same but ...
0
votes
3answers
72 views

IDE or text editor that really indents everything?

I want an IDE or text editor that automatically (when clicking in the indent button) reindents every line of code (from the begining to the end). For example, Sublime 3 doesn't do this. It just ...
1
vote
0answers
33 views

Looking for an ASCII image code formatter

I'm looking for a (probably old) website which had videos of a guy coding a generic program in C, and then formatting them manually to look like a movie or anime character. Imagine things like this : ...
3
votes
0answers
318 views

Is there an offline formatter software to minify/beautify code?

How do you routinely minfy or beautify your code? Dreamweaver doesn't do it. Eclipse doesn't do it (not even via plugin). phpDesigner does it, but I hate its interface. Notepad++ could do it via ...
1
vote
0answers
21 views

Sphinx command line viewer

Is there any utilty similar to cat, but for Sphinx (reStructuredText) files? In the sense that, since some terminals now support bold, italics, and other such markup, is there a utility that "renders" ...
2
votes
2answers
71 views

Extension/plugin to format SQL in a way easy to block select it

When I have to put SQL strings in code I like to it become like that (example): VB.NET " Select " + vbCrLf + _ " Id, " + vbCrLf + _ " Name ...
4
votes
1answer
64 views

Are there any good tools for automatically highlighting/formatting code for copying?

I'm developing some videos for my Introduction to Computing class, and as part of that I'll have lots and lots of slides of code with its output. I'd like to apply some syntax highlighting to ...
4
votes
3answers
1k views

multilanguage source code reformatter / beautifier / pretty-printer

I'm looking for a multi language source code reformatter / beautifier / pretty-printer. Installing and managing a separate tool for each language is quite time-wasting. It has to support C/C++ Java ...
1
vote
0answers
33 views

Format code spaces to standard (desired) style

I am touching an old JavaScript project to add new features. The existing codebase is written like #1 and #2. I like it to be like #3. codebase #1 function x (a,b){ c(d('fff')).run('ggg'); } ...
2
votes
1answer
53 views

Code editor, or editor plugin, that can highlight and prettify wikitext

The source code for templates in Wikipedia, Wiktionary, and all MediaWiki is usually written in a congealed lump like this: <includeonly>{{#if:{{{2|}}}|[[{{{1}}}#{{{2}}}]]|[[{{{1}}}]]}} - [http:...
2
votes
1answer
167 views

Removing optional braces in code

Is there any tool available that will strip optional braces from code written in curly-brace programming languages? Without starting a flame war, I'd like to follow the K&R style, where braces ...
3
votes
1answer
142 views

Convert indentations across all files in bulk

Is there a tool to convert indentations across all specified text files? From tabs to spaces, spaces to tabs, 2 spaces to 4 spaces, etc.? I mainly need it for JavaScript files. I use Sublime Text, ...
6
votes
2answers
5k views

Swift and Objective-C code analysis and style tool

I'm looking for a tool to help the automation of best practices for Swift and iOS. One that can learn and enforce best practices, and enforce code style based on a set of custom or preset rules. The ...
11
votes
3answers
136 views

A C code beautifier that does *nothing* by default?

I'm fixing up a large, old, crufty project and want to introduce broad changes carefully, both because it will cause merge problems and because the old, crufty project contributors will get upset. At ...
1
vote
0answers
107 views

Which website builders allow for formatting code in blogs?

I built a website using Wix, which also allows for creating a blog within the website. Much of my blogging is about various programming issues and highlights sections of code. Unfortunately, Wix ...
2
votes
1answer
113 views

HTML, Javascript, *and PHP* beautifier

There are loads of online beautifiers for HTML and Javascript (or only PHP), but when you mix PHP into that, the result is a beautified HTML/JS and non-beautified PHP. Are there any free online ...
1
vote
3answers
186 views

C++ source code formatter

I am coding a tool to parse C++ code. I don't want to end up coding half of a compiler. Even though I am aware of Clang, that is too much for my purposes. I was hand-parsing, but have come up against ...
7
votes
2answers
180 views

Desktop programs to beautify code

Sometimes I have a piece of code, which could be SQL or JSON or JavaScript or anything else, and I want to beautify it, i.e. make it nicely indented and colorized so it'll be easy to read. If you ...
3
votes
1answer
82 views

Chrome new tab page to beautify and check code

I am looking for a Chrome extension to replace the New Tab Page with one that allows me to paste in some code (in JavaScript, CSS or HTML) and get a beautified output along with any errors if ...
2
votes
1answer
71 views

Format code for entire team

We are using git for our source control. Team members either use eclipse, atom, notepad++, or IDEA for development. There is the occasional visual studio development but it is often. We use a variety ...
0
votes
1answer
39 views

Objective-c++ coding style / code formatting

I am looking for a way to automate the coding style of my Objective-C++ code (a mix of Objective-C and C++). I played with Uncrustify: it works great with Objective-C or C++ but when trying to format ...
1
vote
0answers
413 views

PHP CodeSniffer vs Mess Detector

I'm working on cleaning up my code and came across some PHP linters: Mess Detector Code Sniffer through PHPStorm's inspection settings. Should I use these together or just one? What benefits does ...
3
votes
3answers
371 views

HTML editor with HTML beautifier

On Windows, I'd like to be able to edit some HTML that's been stripped of whitespace. So I would like some sort of HTML beautifier feature, syntax highlighting and tab indenting would be nice. Not ...
4
votes
1answer
243 views

PHP beautifier/tidier/cleaner written in JavaScript

The title says it all, I'm looking for a library or some piece of JavaScript code to beautify PHP code. (would be good if it could also tidy HTML or JavaScript but not necessarily) Does anyone know ...
0
votes
2answers
929 views

CodeMaid alternative for Sublime Text 3

I use Sublime Text 3 as my primary code editor. I'm looking for a plug-in for automatic code formatting (auto indentation, fix curly braces, etc.) and function sorting/reordering, and other cleanup. ...
6
votes
1answer
2k views

XML code alignment in Notepad++

I've been looking around for how to do this automatically and I cannot quite figure it out I am currently editing one of my skins I've released for LOTRO and some of the new code I have isn't ...
7
votes
2answers
119 views

Software reformating SQL statements

I'm looking for an easy tool which is helping to reformat SQL statements. So e.g. SELECT foo, baa from baafoo where id > 10 and comment = 'John was it'; will become to something like SELECT ...
8
votes
2answers
81 views

Extract Method recommendations tool

Is there a tool that searches code and makes recommendations for extracting method candidates with duplicated code? Here's a really contrived example: import java.util.List; public class ...
4
votes
4answers
7k views

Online C# code beautifier

Is there an online C# beautifier that is easy to paste-beautify-copy from? I am looking for one that has options for: Indentation (4 spaces, n spaces, tab char, etc) Curly braces placement (on the ...