Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 155 - Source Code Beautifier  (Read 3390 times)
Reuben B.
Four Js
Posts: 1049


« on: December 22, 2022, 11:50:25 pm »

The source code beautifier was introduced to Genero in 3.20.  Genero Studio has the ability to format many file extensions (.xml, json etc) as well as Genero sources (.4gl).   Like anything Genero Studio does, deep down it is running a Genero command on the command line, and so even if you are not using Genero Studio, you can use the Source Code Beautifier by executing fglcomp with appropriate arguments.

The purpose of such a tool is to put your code in a consistent format that makes it easy for all the developers in your team to read and comprehend, thus improving productivity.  This is achieved by indenting nested code blocks, aligning code, consistent use of case, consistent use of tab and space.

Read more at https://4js.com/ask-reuben/ig-155/
 

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines