Automate coding conventions - 97 things programmers should know
Include code shaping in the build process.Every time you compile a code, everyone automatically shapes it.
It says so, but is there a standard tool for automatic plastic surgery?
Or are you making it yourself?
Also, what is the generic term for these tools??(I couldn't google it because I didn't understand this)
By the way, the language I usually touch is as follows.Please let me know if there are any applicable tools.
Generally, I think it belongs to the shaping of the code.
Also, a well-known HTML shaping tool is HTML Tidy, where the tool/library name is ~tidy, and the expression "pretty" is sometimes used instead of "beutiful" in perl culture.I think these are also useful as search terms.
It is recommended that you search the following:
code
+shape
(language name)
+ tidy
(language name)
+ pretty
Eclipse cleanup or archive actions are possible.
Other IDEs may have similar features.
http://www.ibm.com/developerworks/jp/opensource/library/os-eclipse-clean/
http://qiita.com/jabaraster/items/96a61e768b3d51909166
PHP and Ruby have these things.
I've looked for other languages, but they're all online and they don't seem to be able to do it automatically like CI.
If you look for it, you'll find it, but I'll leave it to someone with more wisdom.
Because the languages listed are scripted and markup languages, it seems that there is no equivalent of the tools used in the compilation language.
(Also, you can read linked articles as if they were supposed to be in the compilation language.)
In the case of scripting language, instead of using external tools, you will need to incorporate the shaping tool into the text editor and run it manually on a regular basis.
(Because there is no compilation (イル build) timing)
© 2024 OneMinuteCode. All rights reserved.