These are chat archives for Glavin001/atom-beautify

12th
Sep 2015
Michael Stramel
@stramel
Sep 12 2015 00:01
Hmm, how does linter get around it?
Glavin Wiechert
@Glavin001
Sep 12 2015 00:02
Each linter are separate packages
So you must install linter, and linter-language etc
Michael Stramel
@stramel
Sep 12 2015 00:02
oh, that's not what you meant by lazy loading?
nevermind
I think I like the approach linter took with separate packages
For instance, I never really use any beautifier other than a handful. So for me it is definitely beneficial to only load those handfuls. It would also make updates shorter since each package is small and managed separately
Glavin Wiechert
@Glavin001
Sep 12 2015 00:14
I want Atom Beautify to be the one-stop place for all code beautification in Atom. As of #282, each beautifier is very light-weight itself (e.g. https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/autopep8.coffee ) and it'd be annoying for me to maintain at least (currently) 15 small repos for each beautifier, when right now they are simply files. So I am not supportive of splitting into separate modules, as the linter package does.
Essentially, I picture it as Atom Beautify being able to recognize each language it supports and then effectively install each module upon usage. Like linter package, except auto-installing: you do not need to install linter and then linter-coffeescript, you simply install linter and try to lint CoffeeScript and it will detect that it is supported and install it for you.
Please leave your feedback on the Issue #320 :).