@José Luis Regalado,

The vim idea is interesting, but I don't think too many developers can be 
convinced to open a file in a different editor just to format it. 

@ somecallitblues ,

Same reasoning. I'm using Pycharm myself, but for a mixed-editor/IDE team, 
I need a different tool to standardize on. 

And speaking of Pycharm, it acts really weird for some Django templates. It 
doesn't format multi-line comments. Which, might be for the best, but 
another issue is that the editor still highlights the code within! It's 
intelligent enough to recognize a comment, but feels the need to color it 
anyway?!?

-Abraham V.



On Monday, 15 December 2014 03:24:30 UTC+5:30, somecallitblues wrote:
>
> PyCharm ide does a great job for all those file types.
> On 14/12/2014 2:00 pm, "Abraham Varricatt" <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>
>> Is there any command-line based tool which would let one auto-format 
>> Django template files? Ideally, the tool should also be used to format 
>> HTML, CSS and .JS files too. 
>>
>> I've recently inherited a bad-looking code base and want to clean it up. 
>> Have heard of the PEP8 autoformatter, but that just works for Python files, 
>> right?
>>
>> -Abraham V.
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/6ce7098d-5ab0-4223-8488-35f6688adc9f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/6ce7098d-5ab0-4223-8488-35f6688adc9f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6216fe5f-1bb5-4b10-8189-95429984ec42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to