Hey James, BBEdit formats only html and css to the best of my knowledge. Like Steve, I have used command line utilities if I needed additional formatting for other languages. I mostly work with web languages and python/php and have my build tools set to format if needed. Hope that helps.
On Friday, September 18, 2020 at 2:15:57 PM UTC-4 Steve wrote: > Well, it does automatically handle indentation depending on your settings, > and you can setup clippings if that's your jam. It also does a lot of > coloring, especially nice when setup via ctags. > > For more hardcore reformatting, you can always setup to trigger external > commands, like `astyle` for C/C++/Java, or one of the many python PEP8 > formatters. The flexibility in this regard is one of the things I like > about BBEdit. Though personally I usually restrict such options to doing > manually on the commandline; for python projects I use pylint triggered > from a Makefile to enforce style guidelines that I choose to enable. > > I also like the fact it doesn't autoformat for me... in other words it > doesn't get in my way or overrule me. Since for any given project I'm > working with 3-8 different languages, it staying out of my way and only > helping in the ways I want is critical. I also wouldn't ever want an editor > take in a project file and just reformat it for me because that breaks > revision control history for zero useful purpose; I've had IDEs do this to > me and dropped them immediately because of it. > > Hope that helps! > - Steve > > > On Fri, Sep 18, 2020 at 10:49 AM James Reynolds <[email protected]> > wrote: > >> I know BBEdit has an HTML formatter. Can it also format code? Like what >> https://beautifier.io/ does for JavaScript? >> >> James Reynolds >> Sr Systems Administrator >> School of Biological Sciences >> The University of Utah >> 801-585-3086 <(801)%20585-3086> >> >> -- >> This is the BBEdit Talk public discussion group. If you have a feature >> request or need technical support, please email "[email protected]" >> rather than posting here. Follow @bbedit on Twitter: < >> https://twitter.com/bbedit> >> --- >> You received this message because you are subscribed to the Google Groups >> "BBEdit Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/bbedit/0F089104-5A7A-4BE0-A750-5B7965AE443B%40gmail.com >> . >> > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/87981739-c531-4ea2-b449-57580d40ccbcn%40googlegroups.com.
